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] | [List Home]


Subject: Re: [docbook] Numbers of subchapters


Katrin Schoenherr wrote:
> Hi,
>

Hi Katrin,

> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE book SYSTEM "docbook_xml/docbookx.dtd">
> <book lang="de">
> <book>
>     <chapter>
>         <title>Chapter 1</title>
>         <para>...</para>
>         <section>
>             <title>Section 1</title>
>             <para>...</para>
>             <section>
>                 <title >Section 2</title>
>                 <para>...</para>
>             </section>
>         </section>
>     </chapter>
>     <chapter>
>         <title>Chapter 2</title>
>         <section>
>             <title>Section1</title>
>             <para>...</para>
>         </section>
>     </chapter>
> </book>
> 

use <sect1></sect1> to <sect5></sect5> instead of <section></setion> to
have numbered subsections. <section> is not numbered but serves as an
"alternative to numbered sections and have unbounded depth" (see
http://www.docbook.org/tdg/en/html/section.html).


Cheers
Thomas Gier
Technical Writer (currently un-employed :( ... )

Aachen / Germany



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