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: another markup question -- multi-level exercises


On Fri, Jul 26, 2002 at 01:35:25PM -0400, Robert P. J. Day wrote:
> On Fri, 26 Jul 2002, Robert McIlvride wrote:
> 
> > Hi Robert,
> > 
> > It works that automatically, at least for us.  For example, this markup:
> > 
> > <orderedlist>
> >   <listitem>
> >     <para>Ordered list item 1.</para>
> >   </listitem>
> >   <listitem>
> >     <para>Beginning of sub-list 2.</para>
> >     <orderedlist>
> >       <listitem>
> >         <para>Ordered list item 2a.</para>
> >       </listitem>
> >       <listitem>
> >         <para>Ordered list item 2b.</para>
> >       </listitem>
> >     </orderedlist>
> >     </listitem>
> >     <listitem>
> >       <para>Ordered list item 3.</para>
> >     </listitem>
> > </orderedlist>
> > 
> > Gives us this result:
> > 
> >    1.Ordered list item 1.
> > 
> >    2.Beginning of sub-list 2.
> > 
> >          a.Ordered list item 2a.
> > 
> >          b.Ordered list item 2b.
> > 
> >    3.Ordered list item 3.
> 
> as it is, i just verified that, but it's not clear from the
> "docbook: tdg" book that this is what would happen.  the synopsis
> table claims that numeration for an orderedlist is "none", yet
> on the next page, it states that if numeration is not specified,
> arabic numerals are used.
> 
> and there is no mention of the default numeration for sublists.
> is there another part of the book i should have been looking at?
> just being typically confused.

The numbering style is established by the stylesheets, and
the Definitive Guide does not document the stylesheets.
It documents the element semantics, and provides some
guidance ("processing expectations") for how a stylesheet
should handle the element.  But there can be many
different stylesheets for DocBook, with different styles
for numbering.  

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


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


Powered by eList eXpress LLC