Re: [docbook] Numbers of subchapters

From
Thomas Gier <>
Date
2004-07-05T13:24:03+00:00
ID
Thread
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