<!--
XML documentation system
Original author : Arjen Baart - arjen@andromeda.nl
- Version : $Revision: 1.1 $
+ Version : $Revision: 1.2 $
-->
<chapter>
-<heading>Overall document structure</heading>
+<heading><label name='overall'/>Overall document structure</heading>
<para>
All XML-doc documents are set up in a similar way.
</verbatim>
<section>
-<heading>Preamble</heading>
+<heading><label name='preamble'/>Preamble</heading>
<para>
The document preamble is everything that comes before the real page of text.
Typical elements of the preamble are the title page and the table of contents.
<para>
The table of contents is optional, but if you use it, it must come
between the title page and the first chapter.
+<remark>Note for LaTeX: to actually make the table of contents, you
+need to run <strong>latex</strong> twice. LaTeX does not do this in
+a single pass.</remark>
</para>
</section>
<section>
-<heading>Sectioning and Paragraphs</heading>
+<heading><label name='section'/>Sectioning and Paragraphs</heading>
<para>
After the opening tag of the first chapter, the document really begins.
</para>
<para>
+Just as in LaTeX, the <code>article</code> document type does not have
+a <code>chapter</code> element.
+The top-level sectioning element for an <code>article</code> is a
+<code>section</code>.
+</para>
+<para>
After the open tag of a sectioning element (<code>chapter</code>,
<code>section</code>, <code>subsection</code> or <code>subsubsection</code>, etc.)
comes the <strong>heading</strong> element, followed by the block level content