OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] is variablelist.max.termlength ignored?


Hi,
I think there is a misunderstanding about what variablelist.max.termlength 
means.  It isn't the minimum, it is the maximum.  If all your terms are 
shorter that 24 characters, it will have no effect.  The width is then 
computed based on the longest actual character count among your listitems, 
times 0.6em.  If you want a wider ratio than 0.6, you need to customize this 
template in fo/lists.xsl:

<xsl:template match="variablelist" mode="vl.as.list">

Also, the list presentation choices in FO are 'block' and 'list', while the 
choices in HTML output are 'table' and 'list'. So 'variablelist.as.table' is 
only an HTML stylesheet parameter.  Kind of strange, but the params indicate 
the elements used in the output.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Bergfrid Skaara" <bergfrid.digitaldias@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, May 05, 2009 3:52 AM
Subject: [docbook-apps] is variablelist.max.termlength ignored?


> Hi,
> it seems like the parameter <xsl:param
> name="variablelist.max.termlength">24</xsl:param> is being ignored in
> FO output. Alternatively, the calculation of the width of the term
> elements themselves might be incorrect. The problem term is
> "ERR_NUMOFCARDS" in Verdana 10pt.
>
> I'm not using any of the 4 higher prioritized methods for setting the
> term width. I do however have variablelist.as.table="0".
>
> Adding a dbfo PI to the specific variablelist with an explicit
> term-width (of 10em) works and solves my immediate problem, but since
> our documents frequently use variablelists, manual tuning for each
> list is not an option.
>
> I use the DocBook 5.0 stylesheets shipped with oXygen 10.0
>
> Best regards,
> Bergfrid Skaara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]