$chunk-section-depth

$chunk-section-depth — Returns the chunking depth for recursive sections.

Parameter:
{}chunk-section-depth
Defined in:
param.xsl
Used in:
param.xsl, modules/chunk.xsl

Synopsis

  |$chunk-section-depth := 1

Description

This parameter is only relevant when chunking is being performed, see Section 2.7, ““Chunked” output”. For recursive sections (section, and refsection), if the section would be a chunk according to $chunk-include, it is further tested against $chunk-section-depth. If it is nested more deeply than $chunk-section-depth, it will not be considered for chunking.

Note

In principle, this parameter is unnecessary as it could be represented by $chunk-exclude expressions. However, changing the section depth is a common customization, so it’s handled as a separate parameter.