3.4 Skribilo User Manual — Table of contents
↑ Standard Markups

The production of table of contains.

(toc [:subsubsection] [:subsection] [:section #t] [:chapter #t] [:class "toc"] [:ident] handle)
:ident The node identifier. html lout latex context info xml
:class The node class. html lout latex context info xml
:chapter A boolean. The value #t forces the inclusion of chapters in the table of contents. html lout
:section A boolean controlling sections. html lout
:subsection A boolean controlling subsections. html lout
:subsubsection A boolean controlling subsubsections. html
handle An optional handle pointing to the node from which the table of contents if computed.
See also document , chapter , section , [?mark resolve: skribilo/documentation/api.scm:767:36:] , [?mark handle: skribilo/documentation/api.scm:767:36:] .
Ex. 7: The toc markup

... produces:

Introduction
1Getting Started
2Syntax
3Standard Markups
4References and Hyperlinks
5Indexes
6Bibliographies
7Computer Programs
8Equation Formatting
9Pie Charts
10Slide Package
11Standard Packages
12Standard Library
13Engines
14Skribilo Compiler
15Getting Configuration Information
16Editing Skribilo Programs
17List of examples
Index

The second example only displays the table of contents of the current chapter.

Ex. 8: A restricted table of contents

... produces:

Markup Index
3.1Building documents
3.1.1Document
3.1.2Author
3.2Spacing
3.3Sectioning
3.3.1Chapter
3.3.2Sections
3.3.3Paragraph
3.3.4Blockquote
3.4Table of contents
3.5Ornaments
3.6Line breaks
3.6.1Linebreak
3.6.2Horizontal rule
3.7Font
3.8Justification
3.9Enumeration
3.10Frames and Colors
3.10.1Frame
3.10.2Color
3.11Figures
3.11.1List of Figures
3.12Images
3.12.1Image formats
3.13Table
3.13.1Table Row
3.13.2Table Cell
3.13.3Example
3.14Footnote
3.15Characters, Strings and Symbols
3.15.1Characters
3.15.2Strings
3.15.3Symbols
(made with skribilo)