1.4

which contexts are available in the template.
Context
Context is an object representing the respective context in the template. Which contexts are
available in the template can be queried using merge.template.contexts. The context being
merged can be queried using merge.context.
Field Type Description
sections Array Array of sections inside this context defined in the template.
type ContextType The context type.
Template
Template is an object representing the template. Which contexts are available in the template
can be queried using merge.template.contexts. The context being merged can be queried
using merge.context.
Field Type Description
contexts Array Array of contexts available in the template.
Section
A section object relating to a section in the template. This type can be used to query and modify
the output behavior for when the related context/section is merged.
Field Type Description
enabled boolean Enables or disables this section for output. Note
that even if a section is disabled the part and
restartPageNumber fields are still effective to
define the parts division and page numbering over
multiple sections when applicable.
The default enabled state for sections (before any
control script runs) is as follows (to emulate the
Page 213