Making a Chapter
chapter
s, preface
s,
and appendix
es all have a similar structure. They
consist of a title
, possibly some additional
meta-information, and any number of block-level elements followed by any
number of top-level sections. Each section may in turn contain any number
of block-level elements followed by any number from the next section
level, as shown in Example 2-2.
Example 2-2. A typical chapter
<chapter><title>My Chapter</title> <para> ... </para> <section><title>First Section</title> <para> ... </para> <example> ... </example> </section> </chapter>
Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.