This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
problem with orderedlist
- From: Harold Carr <harold dot carr at sun dot com>
- To: docbook at lists dot oasis-open dot org
- Date: Mon, 02 Dec 2002 17:50:23 -0800 (PST)
- Subject: DOCBOOK: problem with orderedlist
Hello,
When I use nested orderedlist and serial uses of orderedlist the HTML
output is correct but the PDF output is wrong. For the following:
<?xml version="1.0"?>
<!DOCTYPE article>
<article>
<para>para-one</para>
<orderedlist>
<listitem><para>One.</para></listitem>
<listitem><para>Two.</para></listitem>
<listitem><para>Three.</para></listitem>
</orderedlist>
<para>para-two</para>
<orderedlist>
<listitem><para>One</para></listitem>
<listitem><para>Two.</para>
<orderedlist>
<listitem><para>Two-One.</para></listitem>
<listitem><para>Two-Two.</para></listitem>
</orderedlist>
</listitem>
<listitem><para>Three.</para>
<orderedlist>
<listitem><para>Three-One.</para></listitem>
<listitem><para>Three-Two.</para></listitem>
</orderedlist>
</listitem>
</orderedlist>
<para>para-three</para>
<orderedlist>
<listitem><para>One.</para>
<orderedlist>
<listitem><para>One-One.</para></listitem>
<listitem><para>One-Two.</para></listitem>
<listitem><para>One-Three.</para></listitem>
</orderedlist>
</listitem>
</orderedlist>
<para>para-four</para>
<orderedlist>
<listitem><para>One.</para></listitem>
<listitem><para>Two.</para></listitem>
<listitem><para>Three.</para>
<orderedlist>
<listitem><para>Three-One.</para>
<orderedlist>
<listitem><para>Three-One-One.</para></listitem>
<listitem><para>Three-One-Two.</para></listitem>
<listitem><para>Three-One-Three.</para></listitem>
</orderedlist>
</listitem>
</orderedlist>
</listitem>
<listitem><para>Four.</para></listitem>
</orderedlist>
</article>
-------------------------
I see the correct output in HTML:
para-one
1.One.
2.Two.
3.Three.
para-two
1.One
2.Two.
a.Two-One.
b.Two-Two.
3.Three.
a.Three-One.
b.Three-Two.
para-three
1.One.
a.One-One.
b.One-Two.
c.One-Three.
para-four
1.One.
2.Two.
3.Three.
a.Three-One.
i.Three-One-One.
ii.Three-One-Two.
iii.Three-One-Three.
4.Four.
-------------------------
But in PDF it is wrong:
para-one
2. One.
3. Two.
4. Three.
para-two
5. One
6. Two.
e. Two-One.
f. Two-Two.
7. Three.
g. Three-One.
h. Three-Two.
para-three
9. One.
i. One-One.
j. One-Two.
k. One-Three.
para-four
12. One.
13. Two.
14. Three.
l. Three-One.
xii. Three-One-One.
xiii. Three-One-Two.
xiv. Three-One-Three.
15. Four.
-------------------------
I'm using:
jdk1.4.1_01/solaris
xalan-j_2_4_1/bin/xalan.jar
xalan-j_2_4_1/bin/xercesImpl.jar
xalan-j_2_4_1/bin/xml-apis.jar
docbook-xsl-1.57.0/html/docbook.xsl
docbook-xsl-1.57.0/fo/docbook.xsl
fop-0.20.4/fop.sh
-------------------------
What am I missing or misconfiguring or is there a workaround?
Thanks,
H