Configure automatic chapter and heading numbering.
This metadata element enables the automatic hierarchical numbering of chapter and heading elements in the BDML document.
Numbering can be globally enabled by adding the <numbering /> element to the document's metadata, or can be configured to start and finish between specified chapter/heading levels via the start and finish attributes.
Attribute name | Description |
---|---|
start | Enable hierarchical numbering and specify the level to start at. Level 0 specifies chapters. Levels 1 to 5 specify the headings. If this attribute is not present, the default level of 0 is used. |
finish | Enable hierarchical numbering and specify the level to finish at. Level 0 specifies chapters. Levels 1 to 5 specify the headings. If this attribute is not present, the default level of 5 is used. |
target | Apply this metadata element only to the specified targets. See BDML schema for more information on metadata elements. |
variant | Apply this metadata element only when the variant is specified during translation. See BDML schema for more information on metadata elements. |
No element descendants are defined for the <numbering> element.
Element name | Relation |
---|---|
<metadata> | The metadata section of the root document containing the numbering metadata element. |
<document xmlns="http://boradoc.org/1.0"> <metadata> <numbering start="1" finish="5" target="pdf" /> </metadata> <-- Main document content follows.. --> </document>