This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
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
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.