Depending on the args.css numbering parameter, one of the CSSs is used:
OXYGEN_INSTALL_DIR/DITA-OT3X/plugins/com.oxygenxml.pdf.css/css/print/p-numbering-shallow.css
OXYGEN_INSTALL_DIR/DITA-OT3X/plugins/com.oxygenxml.pdf.css/css/print/p-numbering-deep.css
Unfortunately, there are lots of CSS selectors that need to be changed, and there are multiple map configurations that should be taken into account (for example what happens if you have an appendix before a backmatter?) Overriding them from your customization CSS Is not practical for the moment.
One option for you would be to download an Oxygen Publishing Engine (see the products section on the website), to install it and configure it in oXygen as an external DITA-OT. Then you can make changes in the built-in CSSs.
Here are some details, in case you are using deep numbering:
These are the selectors that inhibit the presentation of the counters in frontmatter and bakmatter:
Code: Select all
/*
Topics from Front Matter and Back Matter and
all other topics that follow a part
should not define string sets, counters, etc..
*/
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/frontmatter"] > *[class ~= "topic/title"]:before,
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/frontmatter"] *[class ~= "topic/topic"] > *[class ~= "topic/title"]:before,
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/backmatter"] > *[class ~= "topic/title"]:before,
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/backmatter"] *[class ~= "topic/topic"] > *[class ~= "topic/title"]:before,
*[class ~= "map/map"][numbering^='deep'] *[class ~= "topic/topic"][is-part] ~ *[class ~= "topic/topic"]:not([is-part]):not([topicrefclass ~= "bookmap/appendix"]) > *[class ~= "topic/title"]:before,
*[class ~= "map/map"][numbering^='deep'] *[class ~= "topic/topic"][is-part] ~ *[class ~= "topic/topic"]:not([is-part]) *[class ~= "topic/topic"] > *[class ~= "topic/title"]:before{
content:none !important;
}
These are clearing the strings for headers and footers:
Code: Select all
/*
Topics from Front Matter and Back Matter and
all other topics that follow a part
should not define string sets, counters, etc..
*/
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/frontmatter"] > *[class ~= "topic/title"],
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/frontmatter"] *[class ~= "topic/topic"] > *[class ~= "topic/title"],
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/backmatter"] > *[class ~= "topic/title"],
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/backmatter"] *[class ~= "topic/topic"] > *[class ~= "topic/title"],
*[class ~= "map/map"][numbering^='deep'] *[class ~= "topic/topic"][is-part] ~ *[class ~= "topic/topic"]:not([is-part]) > *[class ~= "topic/title"],
*[class ~= "map/map"][numbering^='deep'] *[class ~= "topic/topic"][is-part] ~ *[class ~= "topic/topic"]:not([is-part]) *[class ~= "topic/topic"] > *[class ~= "topic/title"]{
string-set: parttitle "", chaptertitle "", sectiontitle "";
}
These are resetting the counters:
Code: Select all
/*
Front Matter and Back Matter and
all other topics that follow a part
should not define string sets, counters, etc..
*/
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/frontmatter"],
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/frontmatter"] *[class ~= "topic/topic"],
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/backmatter"],
*[class ~= "map/map"][numbering^='deep'] *[class ~= "bookmap/backmatter"] *[class ~= "topic/topic"],
*[class ~= "map/map"][numbering^='deep'] *[class ~= "topic/topic"][is-part] ~ *[class ~= "topic/topic"]:not([is-part]):not([topicrefclass ~= "bookmap/appendix"]) {
counter-increment:none !important;
counter-reset: part chapter chapter-and-sections section1 section2 section3 section4 !important;
}
And these are for the TOC:
Code: Select all
/* All other topicrefs that follow a part should not have a number (i.e appendices) */
*[class ~= "map/map"][numbering^='deep'] *[class ~= "map/topicref"][is-part] ~ *[class ~= "map/topicref"]:not([is-part]) > *[class ~= "map/topicmeta"]:before{
content: none !important;
counter-increment:none;
}
Probaby you would need to increment the counter on the index section:
Code: Select all
*[class~='index/groups']{
counter-increment:chapter;
}
Many regards,
Dan