| From | Sent On | Attachments |
|---|---|---|
| Norman Walsh | Mar 21, 2002 3:38 am | |
| Camille Bégnis | Mar 21, 2002 7:00 am | |
| Yann Dirson | Mar 21, 2002 8:09 am | |
| Stephen Bannasch | Mar 21, 2002 9:07 am | |
| Alexander Kirillov | Mar 21, 2002 10:00 am | |
| Bob Stayton | Mar 21, 2002 10:44 am | |
| Stephen Bannasch | Mar 21, 2002 11:46 am | |
| Bob Stayton | Mar 21, 2002 12:33 pm | |
| Ed Nixon | Mar 21, 2002 12:55 pm | |
| Stephen Bannasch | Mar 21, 2002 2:03 pm | |
| Stephen Bannasch | Mar 22, 2002 6:18 am | |
| Karl Eichwalder | Mar 22, 2002 10:35 am | |
| Norman Walsh | Mar 24, 2002 9:38 am | |
| Stephen Bannasch | Mar 24, 2002 6:55 pm | |
| Norman Walsh | Mar 25, 2002 5:45 am |
| Subject: | DOCBOOK-APPS: My ordered lists have extra space between lines. | |
|---|---|---|
| From: | Stephen Bannasch (step...@concord.org) | |
| Date: | Mar 21, 2002 9:07:20 am | |
| List: | org.oasis-open.lists.docbook-apps | |
My ordered lists have extra space between lines.
The problem below happens in both html and in fo->fop->pdf.
using docbook-xsl-1.50.0 (and older versions)
<orderedlist numeration="arabic" spacing="compact"> <listitem><para>item 1</para></listitem> <listitem><para>item 2</para></listitem> <listitem><para>item 3</para></listitem> </orderedlist>
produces html like this:
<div class="orderedlist"> <ol type="1" compact=""> <li> <p>item 1</p> </li> <li> <p>item 2</p> </li> <li> <p>item 3</p> </li> </ol> </div>
Which produces output like this:
1. item 1
2. item 2
3. item 3
There are two problems. The obvious one is the <p> wrapped around the list content produces an extra blank line between list items. The result is the same with the orderedlist spacing set to normal.
The content in the docbook listitem needs to be wrapped in something since the listitem can't be PCDATA. Is there something else I can wrap my docbook items in that won't produce the extra spacing produced with <para>?
Also according to the html4.0 spec the attribute compact should be rendered as either: [compact] or [compact="compact"]. However they warn that many browsers only interpret the simpler form.
--
-- Stephen Bannasch Director of Technology, Concord Consortium mailto:step...@concord.org





