Page counter reset woes (again) in deep mode
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
Page counter reset woes (again) in deep mode
Folks,
I have this rule in my CSS to reset the page counter at the first chapter (after ToC):
This works like a charm when the args.css.param.numbering is set to 'shallow', but won’t if it is set to 'deep', which is the value I’m interested in. Any clue to override this behaviour?
Thanks a bunch!
V.
I have this rule in my CSS to reset the page counter at the first chapter (after ToC):
Code: Select all
/* Reset page number after TOC */
article[is-chapter="true"]:nth-of-type(2) {
counter-reset: page 1;
}
Thanks a bunch!
V.
-
- Posts: 575
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Page counter reset woes (again) in deep mode
Post by julien_lacour »
Hello,
You will find all the information into the Reset Page Numbering in Deep Context topic from our user-guide:
Regards,
Julien
You will find all the information into the Reset Page Numbering in Deep Context topic from our user-guide:
Code: Select all
*[class ~= "map/map"][numbering ^= 'deep'] > *:not([class ~= "topic/topic"][is-chapter]) + *[class ~= "topic/topic"][is-chapter] {
counter-reset: page 1 section1;
}
Julien
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service