How to apply page break on topic heads
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 66
- Joined: Thu Feb 08, 2018 2:44 pm
How to apply page break on topic heads
Post by dpksaini89 »
Hi Team,
I am using <oXygen/> XML Editor 20.1, build 2018061313 and publishing pdf using WYSIWYG using Dita and Css.
The 'page-break-before' in outputclass is not working for topicheads in ditamap.


Please help.
Otherwise the last resort is to use ditatopics without content inspite of topic heads.
I am using <oXygen/> XML Editor 20.1, build 2018061313 and publishing pdf using WYSIWYG using Dita and Css.
The 'page-break-before' in outputclass is not working for topicheads in ditamap.


Please help.
Otherwise the last resort is to use ditatopics without content inspite of topic heads.
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: How to apply page break on topic heads
Hi,
Thank you for reporting this behavior!
I confirm that the page-break attributes do not work for <topichead> elements.
I have just logged this issue in our internal issue-tracking-system to be analyzed by the development team and will update this thread once we reach to a conclusion.
L.E: After a first look at the issue, it seems this is triggered by the fact that the outputclass attribute is not copied from the topicref to the corresponding topic.
As a workaround, until we will fix this in a future version, you could try using the below rule in a customization CSS:
Regards,
Costin
Thank you for reporting this behavior!
I confirm that the page-break attributes do not work for <topichead> elements.
I have just logged this issue in our internal issue-tracking-system to be analyzed by the development team and will update this thread once we reach to a conclusion.
L.E: After a first look at the issue, it seems this is triggered by the fact that the outputclass attribute is not copied from the topicref to the corresponding topic.
As a workaround, until we will fix this in a future version, you could try using the below rule in a customization CSS:
Code: Select all
*[class~="pdf2-d/placeholder"] {
page-break-before:always;
}
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: How to apply page break on topic heads
Post by julien_lacour »
Hello,
I did the test on Oxygen current version (23.0) with DITA Map PDF - based on HTML5 & CSS and I cannot reproduce the problem: you can set the outputclass="page-break-before" on <topichead> elements.
Regards,
Julien
I did the test on Oxygen current version (23.0) with DITA Map PDF - based on HTML5 & CSS and I cannot reproduce the problem: you can set the outputclass="page-break-before" on <topichead> elements.
Regards,
Julien
Return to “DITA (Editing and Publishing DITA Content)”
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