Forcing page breaks before a topic
Posted: Thu Jun 04, 2020 8:26 pm
I am trying to get certain topics to start on a new page in my PDF. I found this page with instructions:
https://www.oxygenxml.com/doc/versions/ ... aking.html
It tried step 3 under "Page Breaks":
What am I doing wrong?
https://www.oxygenxml.com/doc/versions/ ... aking.html
It tried step 3 under "Page Breaks":
However in my PDF, my topics do not start on a new page, even though I added "page-break-before" to the @outputclass in both my DITA topic and the DITA map.In your DITA topic, set the @outputclass attribute on the topic root (or any element) to contain one of the page-break-before, page-break-after, or page-break-avoid values. If you want to control the page breaking from the DITA map, use the @outputclass attribute on the <topicref>, with any of the values mentioned above.
What am I doing wrong?