The .contents command outputs the current table of contents, as defined by the previous .chapter and .section commands.
.contents
.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