Forcing page breaks before a topic

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Carl
Posts: 102
Joined: Fri Oct 19, 2018 2:19 am

Forcing page breaks before a topic

Post by Carl »

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":
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.
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.

What am I doing wrong?
Carl
Posts: 102
Joined: Fri Oct 19, 2018 2:19 am

Re: Forcing page breaks before a topic

Post by Carl »

Hello...just wondering if this topic is still being reviewed?
julien_lacour
Posts: 495
Joined: Wed Oct 16, 2019 3:47 pm

Re: Forcing page breaks before a topic

Post by julien_lacour »

Hello,

We are currently analyzing the problem and we will get back to you as soon as a solution will be available.

Regards,
Julien
julien_lacour
Posts: 495
Joined: Wed Oct 16, 2019 3:47 pm

Re: Forcing page breaks before a topic

Post by julien_lacour »

Hello,

Unfortunately we cannot reproduce the problem on the last version of Oxygen.

Could you let us know which version you are currently using?
Are you using a CSS customization in the transformation (args.css or publishing template)?
Can you send us the CSS customization (if you use one) and a small DITA sample where the issue occur at support@oxygenxml.com?

Regards,
Julien
Post Reply