Date: 2006-10-19 19:27:27 +0200 (Thu, 19 Oct 2006)
New Revision: 4771
More notes on section numbering.
--- trunk/docutils/docs/user/latex.txt 2006-10-18 22:05:33 UTC (rev 4770)
+++ trunk/docutils/docs/user/latex.txt 2006-10-19 17:27:27 UTC (rev 4771)
@@ -220,18 +220,33 @@
-If section numbering and LaTeX table of contents is used LaTeX and
-docutils will number sections. To switch off displaying of LaTeX's
-numbers one has to add following lines to the stylesheet ::
+The options ``--section-numbering`` and ``--use-latex-toc``, both
+influence section numbering.
- % no section number display
- % no numbers in toc
+* If ``--use-latex-toc`` is specified the latex-writer generates
+ LaTeX output, so that LaTeX generates a table of contents and
+ generates section numbers. Usually one does not want to have
+ section numbers generated by docutils in this case, therefore
+ ``--no-section-numbering`` should be specified.
+ The advantage is that LaTeX does put page numbers into the
+ table of contents, but the section depth is limited by the
+ used LaTeX-documentclass, usually to three levels.
+* If section numbering and LaTeX table of contents is used LaTeX and
+ docutils will number sections. To switch off displaying of LaTeX's
+ numbers one has to add following lines to the stylesheet ::
+ % no section number display
+ % no numbers in toc
+ This enables to have the same section numbers as in other docutils-
+ writers and page numbers in the table of contents.
Number pages by chapter
Get latest updates about Open Source Projects, Conferences and News.