How to skip numbering for some first topics?

Post here questions and problems related to editing and publishing DITA content.
MyMoon
Posts: 23
Joined: Thu Feb 28, 2019 2:19 pm

How to skip numbering for some first topics?

Post by MyMoon »

Hi team!
How to organize chapter numbering like this:

Preface.................1
Abbreviations list.....3
1. System purpose....5
..............

?

Sincerely,
Dmitry
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Re: How to skip numbering for some first topics?

Post by Dan »

You may find useful the documentation:

https://www.oxygenxml.com/doc/versions/ ... intro.html

The built-in CSS rules are in: [PLUGIN_DIR]/css/print/p-numbering-shallow.css and [PLUGIN_DIR]/css/print/p-numbering-deep.css . The first CSS contains the rules that add a "Chapter NN" before the first level topics from the publication, the later contains rules that add a deep structure of counters on all topics referred from the map, at any level.

The PLUGIN_DIR is the {oxygen installation directory}/frameworks/dita/DITA-OT3.x/plugins/com.oxygenxml.pdf.css

You may alter and copy the rules to fit your needs.

Many regards,
Dan
Post Reply