<ChapterNumberVariablePreference> / Element reference
ChapterNumberVariablePreference
The ChapterNumberVariablePreference element in IDML: where it appears (designmap), its 3 attributes, their values, and how real documents use them.
Definition
The settings of a chapter-number text variable: the number format and the text before and after it.
- Lives in
designmap270- Frequency
- In 270 of the 305 documents of the census (88.5%), 2026-10-12
- Attributes
- 3 observed
- Discussed in
- Text variables
Structure
Relationships
ChapterNumberVariablePreference sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).Attributes
| Attribute | Type | Values | Seen in |
|---|---|---|---|
| Format# The number format: Current uses the chapter number's own format, or a numbering style such as UpperRoman. | keyword | Current270 | 100% |
| TextAfter# Text placed after the variable's value. | — | any | 100% |
| TextBefore# Text placed before the variable's value. | — | any | 100% |
ChapterNumberVariablePreference (census of 2026-10-12, 305 documents). Seen in is the share of the 270 documents with a ChapterNumberVariablePreference that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.Evidence
- Observed
- In 270 of 305 documents (88.5%):
designmap270. - Census
- Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
- Counts are
- Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.
Paged support
What Paged, one implementation of the format, does with ChapterNumberVariablePreference. Nothing in this panel is part of the format; the reference above holds for any reader.
As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged b6f499b, read 2026-11-30; render from the capability record exported 2026-11-29.
- Parse
- Reads 3 of the 3 attributes
- Render
- No feature of the capability record names this element
- Edit
- 2 attributes map to a scriptable path for
paged.set - Write
- Writes 3 of the 3 attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| Format | readsdesignmap.rs:267 | — | writestext_variables.rs:346 |
| TextAfter | readsdesignmap.rs:935 | textVariableTextAfter | writestext_variables.rs:364 |
| TextBefore | readsdesignmap.rs:934 | textVariableTextBefore | writestext_variables.rs:309 |
Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names ChapterNumberVariablePreference.
CaptionMetadataVariablePreference
The CaptionMetadataVariablePreference element in IDML: where it appears (designmap), its 3 attributes, their values, and how real documents use them.
ColorGroup
The ColorGroup element in IDML: where it appears (designmap), its 4 attributes, their values, and how real documents use them.