As the document is processed, $\TeX$ writes table of contents
information on the file filename.toc
. This file should be copied
to filename.cts
before running $\TeX$ again. Then
to create a table of
contents, use the following code:
\chapter{Contents}{}
\begincts
\input filename.cts
\endcts
To create a brief table of contents, containing only chapter titles, use
\chapter{Brief Contents}{}
\beginbriefcts
\input filename.cts
\endcts
Subsections do not normally appear in the table of contents; see subsection 1.1.1.