Generating a table of contents – HP Integrity NonStop H-Series User Manual
Page 285
Generating a Table of Contents
Using Special TFORM Features
058060 Tandem Computers Incorporated
11–17
Generating a Table
of Contents
TFORM keeps track of your level headings. Using the LEVEL CONTENTS
command, you can retrieve these headings to produce a table of contents
for your document.
The LEVEL CONTENTS command is on by default. TFORM stores all level
headings from level 0 through level 4. When printed, the level headings
produce a table of contents with page numbers. Figure 11-12 shows the
level headings in an edit file. Figure 11-13 presents the table of contents
produced from those level headings.
Figure 11-12. Level Headings Generate a Table of Contents
\LEVEL 0 "SECTION|2|THE ROLE OF THE EDITOR"
\LEVEL 1 "Introduction"
\LEV©21EL 1 "Editing for Style"
\LEVEL 2 "Using the Second Person"
\LEVEL 2 "Giving Instructions in Steps"