NOWEB(1) General Commands Manual NOWEB(1) NNAAMMEE htmltoc - add table of contents to HTML document SSYYNNOOPPSSIISS hhttmmllttoocc [--22334455] [file] DDEESSCCRRIIPPTTIIOONN _h_t_m_l_t_o_c 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 <> and <>,, which must appear on lines by themselves. Any text between those two markers is _d_i_s_c_a_r_d_e_d_. These markers are inserted automatically by the _s_l_2_h(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., --112233445566778899PP ttoo iinncclluuddee aallll ppoossssiibbllee hheeaaddeerrss.. BBUUGGSS _h_t_m_l_t_o_c can't cope with a header that is split across multiple lines, even though this is legal HTML. SSEEEE AALLSSOO _n_o_w_e_b_f_i_l_t_e_r_s(7), _s_l_2_h(1) VVEERRSSIIOONN This man page is from _n_o_w_e_b version 2.12. AAUUTTHHOORR Norman Ramsey, Tufts University. Internet address NNoorrmmaann..RRaamm‐‐ sseeyy@@ttuuffttss..eedduu. Noweb home page at hhttttpp::////wwwwww..ccss..ttuuffttss..eedduu//~~nnrr//nnoowweebb. Stephen Parker provided a preliminary version. local 10/40/2008 NOWEB(1)