Name

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

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

Synopsis

$chunk-section-depth := 1

Description

This parameter is only relevant when chunking is being performed, see Section 2.6, “Chunked” output. For recursive sections (section, legalsection, 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, the interchangeability of section and legalsection makes those expressions quite complicated and changing the section depth is a common customization, so it’s handled as a separate parameter.