This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: variable list indent in XSL-FO
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Dennis Grace <dgrace at us dot ibm dot com>
- Cc: Docbook-Apps eList <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 26 Mar 2002 14:46:53 -0500
- Subject: DOCBOOK-APPS: Re: variable list indent in XSL-FO
- References: <OFFB50A108.5EB84B03-ON85256B87.0061ADD5@pok.ibm.com>
/ Dennis Grace <dgrace@us.ibm.com> was heard to say:
| I'm trying to writer a driver file for generating FOs from PDF. My variable
| lists show up too far with the <listentry> indented too far to the right,
| and the amount of the indent seems to be nest-level specific (further to
| the right in sect2 than sect1, further still in sect3 lists). Any simple
| way to fix this?
A quick peek at your source reveals that you have lists like this:
<variablelist>
<varlistentry>
<term>a really long term that goes on for a long way that's why I said it was long</term>
<listitem>...
The stylesheets get confused and make the space reserved for the term much
too big. I've fixed that in CVS, but in the meantime you should be able to
work around the problem by saying things like:
<variablelist termlength="2in">
or whatever length you think looks best.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Unprovided with original learning,
http://www.oasis-open.org/docbook/ | unformed in the habits of
Chair, DocBook Technical Committee | thinking, unskilled in the arts of
| composition, I resolved to write a
| book.--Edward Gibbon