Edit online

The type of numbering is controlled by the parameter args.css.param.numbering.

This parameter activates various sets of CSS rules from the built-in CSS. By default, only the first-level topics (the chapters) are numbered (shallow numbering). The following values are accepted:

Table 1. Types of Numbering
Value Chapters Sections Figures & Tables Pages
shallow numbered no counted from the start of the publication from the start of the publication
deep numbered numbered counted from the start of the publication from the start of the publication
deep-chapter-scope numbered numbered numbering is restarted at the beginning of each chapter, adds the chapter number in their titles (and in the links to them), and in the list of tables and list of figures sections restarted at the beginning of each chapter
deep-chapter-scope-no-page-reset numbered numbered numbering is restarted at the beginning of each chapter, adds the chapter number in their titles (and in the links to them), and in the list of tables and list of figures sections from the start of the publication
Note: The deep-chapter-scope and deep-chapter-scope-no-page-reset values are only available for the DITA Map PDF - based on HTML5 & CSS transformation scenario.

Examples

Shallow
Each chapter is numbered, but sections are not numbered. Figures, tables, and pages are numbered sequentially from the start of the publication and they do not reset.
1. First Chapter
    Page 1
      Section
        Table 1
        Table 2
      Section
    Page 2
        Table 3
2. Second Chapter
    Page 3
      Section
        Table 4
        Table 5
      Section
    Page 4
Deep
Each chapter and section is numbered (sections are prefixed with the chapter number). Figures, tables, and pages are numbered sequentially from the start of the publication and they do not reset.
1. First Chapter
    Page 1
      Section 1.1
        Table 1
      Section 1.2
        Table 2
    Page 2
        Table 3
2. Second Chapter
    Page 3
      Section 2.1
        Table 4
        Table 5
      Section 2.2
    Page 4
Deep Chapter Scope
Each chapter is independent (so it can be read separately, as a separate part of your publication). The section, page, figure, and table counters (and links to them) restart at each chapter. The general cross reference links also display the chapter number before the page number to clearly specify the target.
1. First Chapter
    Page 1.1
      Section 1.1
        Table 1.1
        Link to page 2.2
      Section 1.2
    Page 1.2
        Table 1.2
2. Second Chapter
    Page 2.1
      Section 2.1
        Table 2.1
        Table 2.2
        Table 2.3
      Section 2.2
        Table 2.4
    Page 2.2
       Link to page 1.1
Deep Chapter Scope No Page Reset
Each chapter is independent (so it can be read separately, as a separate part of your publication). The section, figure, and table counters (and links to them) restart at each chapter, but the page numbers do not reset. The generic cross reference links contain only the page number.
1. First Chapter
    Page 1
      Section 1.1
        Table 1.1
        Link to page 4
      Section 1.2
    Page 2
        Table 1.2
2. Second Chapter
    Page 3
      Section 2.1
        Table 2.1
        Table 2.2
        Table 2.3
      Section 2.2
        Table 2.4
    Page 4
       Link to page 1