[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 firstname.lastname@example.org ----- Original Message ----- From: "Bergfrid Skaara" <email@example.com> To: <firstname.lastname@example.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: email@example.com > For additional commands, e-mail: firstname.lastname@example.org > > >