Generating a table of contents

It is very easy to generate a table of contents for your document. Just put your cursor at the place where you want your table of contents and click on TextAutomaticTable of contents.

In order to generate the table of contents, you should be in a mode where page breaks are visible (select paper in DocumentPageType), so that the appropriate references to page numbers can be computed. Next, use DocumentUpdateTable of contents or DocumentUpdateAll to generate the table of contents. You may have to do this several times, until the document does not change anymore. Indeed, the page numbers may change as a result of modifications in the table of contents!

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".