X-Git-Url: http://www.andromeda.nl/gitweb/?a=blobdiff_plain;f=doc%2Foverall.xml;h=22ac06c951e812e1c1c506c1f188a72414d2a3f3;hb=1eeaab9094e6666a8a5860dd36545e03c4c4fa7b;hp=d662a76350679555b985b1ddbdf9dc7b40282df8;hpb=26dd345efa8d21e7d5269f148a9b65cb8f647485;p=xmldoc.git diff --git a/doc/overall.xml b/doc/overall.xml index d662a76..22ac06c 100644 --- a/doc/overall.xml +++ b/doc/overall.xml @@ -5,12 +5,12 @@ -Overall document structure + All XML-doc documents are set up in a similar way. @@ -60,7 +60,7 @@ The example shows a minimal XML-doc document:
-Preamble + 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. @@ -104,12 +104,15 @@ All it takes is an empty toc element: The table of contents is optional, but if you use it, it must come between the title page and the first chapter. +Note for LaTeX: to actually make the table of contents, you +need to run latex twice. LaTeX does not do this in +a single pass.
-Sectioning and Paragraphs + After the opening tag of the first chapter, the document really begins. @@ -131,6 +134,12 @@ Note that the names are equivalent to their counterparts in LaTeX. +Just as in LaTeX, the article document type does not have +a chapter element. +The top-level sectioning element for an article is a +section. + + After the open tag of a sectioning element (chapter, section, subsection or subsubsection, etc.) comes the heading element, followed by the block level content