The production of table of contains.
| prototype |
(toc [:subsubsection] [:subsection] [:section #t] [:chapter #t] [:class "toc"] [:ident] handle) |
| :ident | html lout latex context info xml | The node identifier. |
| :class | html lout latex context info 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: skribilo/documentation/api.scm:673:] [?mark handle: skribilo/documentation/api.scm:673:] |
Ex. 7: The toc markup
... produces:
The second example only displays the table of contents of the current
chapter.
Ex. 8: A restricted table of contents
... produces: