This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] question about <variablelist> and <term>


On Wed, May 14, 2003 at 08:15:58AM -0400, Robert P. J. Day wrote:
> 
>   given a <variablelist> set of <term>s of the form:
> 
>   <term><filename>/bin</filename></term>
>   <term><filename>/sbin</filename></term>
>   <term><filename>/lib</filename></term>
> 
> it's kind of disconcerting that the rendering with xsltproc 
> allows a single filename to be split at the "/".  what i'm 
> getting printed via FOP into PDF is:
> 
>   /bin,/sbin,/
>   lib
> 
> is it part of the specs that a single, contiguous <term> be allowed
> to be split like that?

The automatic setting for the width of terms (the
indent of variablelist listitems) is based on the
maximum width of the term elements in a variablelist.
In this case, each term is small, so the automatic width is
small, leading to a small indent and the odd line break.
You might try setting the term width for this list.  See:
http://www.sagehill.net/xml/docbookxsl/PrintOutput.html#ListIndents

On the other hand, I would rather see multiple term items
be stacked rather than printed as a comma-separated list.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]