.TH NOWEB 1 "local 3/28/2001"
.SH NAME
htmltoc \- add table of contents to HTML document
.SH SYNOPSIS
\fBhtmltoc\fP [\fB\-2345\fP] [file]
.SH DESCRIPTION
.I htmltoc
adds a table of contents to the HTML document named on the command
line or provided as standard input.
The table of contents is inserted between
.B
and
.B ,
which must appear on lines by themselves.
Any text between those two markers is
.I discarded.
These markers are inserted automatically by the
.IR sl2h (1)
filter.
.PP
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., \fB\-123456789\P to include all possible headers.
.SH SEE ALSO
.IR nowebfilters (7),
.IR sl2h (1)
.SH VERSION
This man page is from
.I noweb
version 2.10c.
.SH AUTHOR
Norman Ramsey, Harvard University.
Internet address \fBnr@eecs.harvard.edu\fP.
.br
Noweb home page at \fBhttp://www.eecs.harvard.edu/~nr/noweb\fP.
.PP
Stephen Parker provided a preliminary version.