NOWEB(1)NOWEB(1)NAMEhtmltoc - add table of contents to HTML document
SYNOPSIShtmltoc [-2345] [file]
DESCRIPTIONhtmltoc adds a table of contents to the HTML document named on the com‐
mand line or provided as standard input. The table of contents is
inserted between <tableofcontents> and </tableofcontents>, which must
appear on lines by themselves. Any text between those two markers is
discarded. These markers are inserted automatically by the sl2h(1)
filter.
The table of contents includes only headers at levels 2, 3, 4, and 5.
This can be changed by using a command-line option, e.g., -123456789P
to include all possible headers.
BUGShtmltoc can't cope with a header that is split across multiple lines,
even though this is legal HTML.
SEE ALSOnowebfilters(7), sl2h(1)VERSION
This man page is from noweb version 2.11b.
AUTHOR
Norman Ramsey, Harvard University. Internet address nr@eecs.har‐
vard.edu.
Noweb home page at http://www.eecs.harvard.edu/~nr/noweb.
Stephen Parker provided a preliminary version.
local 3/28/2001 NOWEB(1)