$generate-trivial-toc

$generate-trivial-toc — Generate a trivial table-of-contents?

Parameter:
{}generate-trivial-toc
Defined in:
param.xsl
Used in:
param.xsl, modules/toc.xsl

Synopsis

  |$generate-trivial-toc as xs:string := 'false'

Description

If the $generate-trivial-toc parameter is true, a table of contents will be generated even if it consists of only a single entry. Otherwise, such “trivial” tables of contents will be elided.

A trivial table of contents will always be generated if there are other lists of titles (for example, a list of figures). This parameter applies only to top-level tables of contents. Nested tables of contents will be generated even if they consist of only a single entry.