Using the command !tableofcontents you can tell UDO to generate a table of contents that lists all chapters, sections and subsections of the source file.
You should use !tableofcontents directly after !maketitle or !begin_document to avoid problems.
By using the switch !toc you can decrease the size of the table of contents. This is useful when writing large hypertexts.
If you want to list all sections of a chapter, all subsections of
section or all paragraphs of a subsection you can output this so
called sub-table of contents
with the commands called
!subtoc, !subsubtoc and
!subsubsubtoc. This is useful for hypertexts where you then
have the possibility to switch directly to an interesting section or
subsection. UDO enables you to automatize the output of these
subtoc's
using the switches !use_auto_subtocs,
!use_auto_subsubtocs and !use_auto_subsubsubtocs.
If you use the upper switches to print subtocs automatically but you don't want to print them in specific chapters you can insert the commands !ignore_subtoc, !ignore_subsubtoc or !ignore_subsubsubtoc. If a chapter contains one of these commands there will be printed no table of contents neither automatically nor manually by using !subtoc etc.
!tableofcontents: | Prints the table of contents on a separate page. |
!toc: | Prints the table of contents inside the text. |
!subtoc: | Prints all sections of a chapter. |
!subsubtoc: | Prints all subsections of a section. |
!subsubsubtoc: | Prints all paragraphs of a subsection. |
!use_auto_subtocs: | Print all sections of a chapter automatically. |
!use_auto_subsubtocs: | Print all subsections of a section automatically. |
!use_auto_subsubsubtocs: | Print all paragraphs of a subsection automatically. |
!ignore_subtoc: | Don't print the sections of the current chapter. |
!ignore_subsubtoc: | Don't print the subsections of the current section. |
!ignore_subsubsubtoc: | Don't print the paragraphs of the current subsection. |
Hints: