How to make first leve chapter starts from a new page
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 29
- Joined: Tue Jun 27, 2017 2:10 pm
How to make first leve chapter starts from a new page
Hi experts,
If I want to have each level 1 chapter starts from a new page, what code should I change in my plugins?
For example. Chapter 2 and chapter 3 starts in a new page.
Chapter 2
chapter 2.1
chapter 2.2
Chapter 3
Thanks!
Lisa
If I want to have each level 1 chapter starts from a new page, what code should I change in my plugins?
For example. Chapter 2 and chapter 3 starts in a new page.
Chapter 2
chapter 2.1
chapter 2.2
Chapter 3
Thanks!
Lisa
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: How to make first leve chapter starts from a new page
Hi Lisa,
Starting each top level chapter on its own page is even the current behavior for the predefined DITA Map > PDF transformation in oXygen.
You should try publishing one of the bookmaps (for example "taskbook.ditamap", available in the "it-book" DITA sample) from the sample project in oXygen to check this.
If you obtain a different behavior when publishing your own bookmap, to reproduce it at our side and see what goes wrong, could you please send a minimal sample DITA Map for which you still obtain different results in the output? You could send the sample map to support AT oxygenxml DOT com
Last but not least, you should take a look over this older post HERE , as Bogdan suggested the solution for a similar request. This could help you as well.
Regards,
Costin
Starting each top level chapter on its own page is even the current behavior for the predefined DITA Map > PDF transformation in oXygen.
You should try publishing one of the bookmaps (for example "taskbook.ditamap", available in the "it-book" DITA sample) from the sample project in oXygen to check this.
If you obtain a different behavior when publishing your own bookmap, to reproduce it at our side and see what goes wrong, could you please send a minimal sample DITA Map for which you still obtain different results in the output? You could send the sample map to support AT oxygenxml DOT com
Last but not least, you should take a look over this older post HERE , as Bogdan suggested the solution for a similar request. This could help you as well.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 29
- Joined: Tue Jun 27, 2017 2:10 pm
Re: How to make first leve chapter starts from a new page
Hi Costin,
Thanks for suggestion of "older post HERE" .
I study it and make my topic/title starts with in a new page.
<xsl:attribute-set name="topic.title" >
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
Thanks very much!!
br
Lisa
Thanks for suggestion of "older post HERE" .
I study it and make my topic/title starts with in a new page.
<xsl:attribute-set name="topic.title" >
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
Thanks very much!!
br
Lisa
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