[table of contents generation for html and man
atehwa@sange.fi**20060131095411] {
hunk ./TODO 5
- * table of contents generation for HTML, (man)
hunk ./common/markup.lm4 111
-`w_headline(`$1', ifelse(w_do_numbering, true,
- `w_sectionmark(`$1', chapter, section, subsection, subsubsection) ')`$2')')
+`w_headline(`$1', `w_maybe_tocline(w_maybe_numbered(`$1', `$2'))')')
+define(`w_maybe_tocline',
+`ifelse(w_make_toc, true, `w_index(toc, `$1')', `$1')')
+define(`w_maybe_numbered',
+`ifelse(w_do_numbering, true,
+ `w_sectionmark(`$1', chapter, section, subsection, subsubsection) ')`$2'')
hunk ./common/markup.lm4 130
+ifelse(w_make_toc,true,`w_define_div(`toc')',`w_define_trashcan(`toc')')
hunk ./docbook-xml/settings.lsh 3
+TABLE_OF_CONTENTS=off
hunk ./examples/stx2any.txt 113
- Request producing a table of contents from the headings.
- Currently, this only has effect for LaTeX. The default is to
- produce a TOC when numbering is on.
+ Request producing a table of contents from the headings. The
+ default is to produce a TOC when numbering is on. Not
+ implemented for DocBook XML.
hunk ./html/templ.lm4 17
+ifelse(w_make_toc,true,`w_dumpdiv(toc)')dnl
hunk ./man/templ.lm4 6
+ifelse(w_make_toc,true,`w_dumpdiv(toc)')dnl
hunk ./regression/abbrev.html 10
+1 headline 1
+1.1 headline 2
+1.1.1 headline 3
+1.1.1.1 headline 4
+1.2 miscellaneous inline
+1.3 footnotes
+1.3.1 [7] in heading
+1.4 section breaking
+1.4.1 headline
+1.4.2 another headline
+1.4.3 headline followed by
+1.4.4 two adjacent
+1.4.5 headlines
+1.5 preformatted
+1.6 special characters
hunk ./regression/abbrev.html 26
-