Next in thread → Next in month →

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

From
Bob Stayton <>
Date
2003-05-27T08:37:48+00:00
ID
Thread
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: 
Next in thread → Next in month →