- Defining Styles
- Using Style Settings
- Class Reference
-
Settings Reference
-
Document Settings
- baseline-grid-size
- column-count
- column-spacing-width
- footnote-enumeration
- footnote-placement
- footnote-style
- locale
- page-binding
- page-height
- page-inset-bottom
- page-inset-inner
- page-inset-outer
- page-inset-top
- page-number-format
- page-number-reset
- page-number-style
- page-orientation
- page-width
- section-break
- two-sided
- Headers and Footers
- Footnotes Area
- Inline
- Media
- Footnotes
- Paragraph
- Divider
- List
- Table
- Table Cell
- Table of Contents
- Table of Contents Item
-
Document Settings
- Editor Plugins
page-number-reset
Specifies whether page numbers should be reset on each section.
Availability
Available in: Document Settings
Type
Available values
| Value | Description |
|---|---|
none |
Continuous page numbering in the entire document. |
per-section |
Reset page numbers on each section. |
Default value
none
Inherited
No.
Example
// Show "- 1 -", "- 2 -" in the footer area of a page. Numbers will be reset on each section.
document-settings {
page-number-format: "- %p -"
page-number-style: decimal
page-number-reset: per-section
section-break: heading-2
}
area-footer {
content: page-number
text-alignment: center
}