OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: problem with orderedlist


This problem was fixed in the latest stylesheets 1.58.1.
It was caused by the default value of an attribute not
being set because the DTD was not loaded.  If you add
a working DOCTYPE to your document, the problem goes
away also.


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

On Mon, Dec 02, 2002 at 05:50:23PM -0800, Harold Carr wrote:
> 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
> 

-- 

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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC