[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 -

1 headline 1

-

1.1 headline 2

-

1.1.1 headline 3

-
1.1.1.1 headline 4
+

1 headline 1

+

1.1 headline 2

+

1.1.1 headline 3

+
1.1.1.1 headline 4
hunk ./regression/abbrev.html 31 -

1.2 miscellaneous inline

+

1.2 miscellaneous inline

hunk ./regression/abbrev.html 106 -

1.3 footnotes

+

1.3 footnotes

hunk ./regression/abbrev.html 116 -

1.3.1 [7] in heading

+

1.3.1 [8] in heading

hunk ./regression/abbrev.html 119 +[8] footnote
hunk ./regression/abbrev.html 123 -

1.4 section breaking

+

1.4 section breaking

hunk ./regression/abbrev.html 126 -

1.4.1 headline

+

1.4.1 headline

hunk ./regression/abbrev.html 128 -

1.4.2 another headline

+

1.4.2 another headline

hunk ./regression/abbrev.html 132 -

1.4.3 headline followed by

+

1.4.3 headline followed by

hunk ./regression/abbrev.html 135 -

1.4.4 two adjacent

-

1.4.5 headlines

+

1.4.4 two adjacent

+

1.4.5 headlines

hunk ./regression/abbrev.html 154 -

1.5 preformatted

+

1.5 preformatted

hunk ./regression/abbrev.html 194 -

1.6 special characters

+

1.6 special characters

hunk ./regression/abbrev.man 2 +1 headline 1 +.br +1.1 headline 2 +.br +1.1.1 headline 3 +.br +1.1.1.1 headline 4 +.br +1.2 miscellaneous inline +.br +1.3 footnotes +.br +1.3.1 \& +.SM [7] +\& in heading +.br +1.4 section breaking +.br +1.4.1 headline +.br +1.4.2 another headline +.br +1.4.3 headline followed by +.br +1.4.4 two adjacent +.br +1.4.5 headlines +.br +1.5 preformatted +.br +1.6 special characters +.br hunk ./regression/abbrev.man 159 -.SM [7] +.SM [8] hunk ./regression/abbrev.man 169 +.br +\& +.SM [8] +\& footnote }