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. 9: The toc markup

... produces:

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

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

Ex. 10: A restricted table of contents

... produces:

  1. Markup Index
  2. Building documents
    1. Document
    2. Author
  3. Spacing
  4. Sectioning
    1. Chapter
    2. Sections
    3. Paragraph
    4. Blockquote
  5. Table of contents
  6. Ornaments
  7. Line breaks
    1. Linebreak
    2. Horizontal rule
  8. Font
  9. Justification
  10. Enumeration
  11. Frames and Colors
    1. Frame
    2. Color
  12. Figures
    1. List of Figures
  13. Images
    1. Image formats
  14. Table
    1. Table Row
    2. Table Cell
    3. Example
  15. Footnote
  16. Characters, Strings and Symbols
    1. Characters
    2. Strings
    3. Symbols
(made with skribilo)