.contents command

The .contents command outputs the current table of contents, as defined by the previous .chapter and .section commands.

Syntax

.contents

Example(s)

.chapter
Runoff
.chapter
OP
.contents

The output of this example is:

Chapter 1
Runoff

(page eject)

Chapter 2
OP

(page eject)

Table of Contents
section              page
1        Runoff      1
2        OP          2