$auto-toc

$auto-toc — Automatically generate tables of contents.

Parameter:
{}auto-toc
Defined in:
param.xsl
Used in:
param.xsl, modules/toc.xsl
Since:
2.0.10

Synopsis

  |$auto-toc as xs:string := 'true'

Description

If this parameter is true, then a table of contents, or more generally, “lists of titles”, will be generated. If it is not true, such lists will only appear where an explicit toc element appears. An empty toc can be used to identify the place where an automatically generated list should appear. In either case, if the toc is not empty, then the hand-authored list appears instead of an automatically generated one.

Which elements will have an automatically generated list of titles is determined by how elements are processed in the m:toc mode.