The production of table of contains.
| prototype |
(toc [:subsubsection] [:subsection] [:section #t] [:chapter #t] [:class "toc"] [:ident] handle) |
| :ident | html lout latex context xml | The node identifier. |
| :class | html lout latex context xml | The node class. |
| :chapter | html lout | A boolean. The value #t forces the
inclusion of chapters in the table of contents. |
| :section | html lout | A boolean controlling sections. |
| :subsection | html lout | A boolean controlling subsections. |
| :subsubsection | html | A boolean controlling subsubsections. |
handle | An optional handle pointing to the node from
which the table of contents if computed. |
document chapter section [?mark resolve: ] [?mark handle: ] |
Ex. 6: The toc markup
... produces:
The second example only displays the table of contents of the current
chapter.
Ex. 7: A restricted table of contents
... produces: