dita-ot 3.1 org.dita.pdf2 list bullet starts a new page
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 5
- Joined: Wed Jan 19, 2022 8:56 am
dita-ot 3.1 org.dita.pdf2 list bullet starts a new page
Hi,
Since DITA-OT 3.1, in an ordered or unordered list, if a bullet has a second level ordered or unordered list and the second-level list is too long to fit into the remaining space in the current page, this bullet starts a new page.
For example:
But I want bullet '4444' stays in the current page and the second-level list breaks, just like this:
Since DITA-OT 3.1, in an ordered or unordered list, if a bullet has a second level ordered or unordered list and the second-level list is too long to fit into the remaining space in the current page, this bullet starts a new page.
For example:
fig.png
As shown in the image above, bullet '4444' has a long list, and bullet '4444' starts a new page.But I want bullet '4444' stays in the current page and the second-level list breaks, just like this:
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: dita-ot 3.1 org.dita.pdf2 list bullet starts a new page
Hi,
During the last 3-4 years we invested in an Oxygen specific engine named Chemistry which produces PDF from DITA using CSS. We no longer officially offer support for the XSL-FO based PDF publishing.
Just to try and give you some hints:
What DITA OT version are you using right now?
Do you also have a PDF customization plugin? If you do and you remove your plugin from the publishing engine do you still get the problem?
Maybe if you set the "clean.temp=no" parameter and produce the PDF you can look in the transformation temporary folder and open the "topic.fo" in Oxygen you can format and indent it and then look for that specific list, see for example what "keep-together" attributes are set on the list or on the list items.
As another approach you can also register and ask around on the public DITA Users List: https://dita-users.groups.io/g/main
Regards,
Radu
During the last 3-4 years we invested in an Oxygen specific engine named Chemistry which produces PDF from DITA using CSS. We no longer officially offer support for the XSL-FO based PDF publishing.
Just to try and give you some hints:
What DITA OT version are you using right now?
Do you also have a PDF customization plugin? If you do and you remove your plugin from the publishing engine do you still get the problem?
Maybe if you set the "clean.temp=no" parameter and produce the PDF you can look in the transformation temporary folder and open the "topic.fo" in Oxygen you can format and indent it and then look for that specific list, see for example what "keep-together" attributes are set on the list or on the list items.
As another approach you can also register and ask around on the public DITA Users List: https://dita-users.groups.io/g/main
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Wed Jan 19, 2022 8:56 am
Re: dita-ot 3.1 org.dita.pdf2 list bullet starts a new page
Hi Radu,
Thanks for your reply.
I'm using DITA-OT 3.1, and I created a customized plugin based on "org.dita.pdf2".
I added '<xsl:attribute name="keep-with-previous.within-page">always</xsl:attribute>' in 'cfg\fo\attrs\lists-attr.xsl', but it does not work.
I found this phenomenon from DITA-OT 3.1 to DITA-OT 3.6.1, but it dissappears in DITA-OT 3.7.
I'll check "topic.fo" file.
Maybe I should try Oxygen engine Chemistry
Thank you so much!
Thanks for your reply.
I'm using DITA-OT 3.1, and I created a customized plugin based on "org.dita.pdf2".
I added '<xsl:attribute name="keep-with-previous.within-page">always</xsl:attribute>' in 'cfg\fo\attrs\lists-attr.xsl', but it does not work.
I found this phenomenon from DITA-OT 3.1 to DITA-OT 3.6.1, but it dissappears in DITA-OT 3.7.
I'll check "topic.fo" file.
Maybe I should try Oxygen engine Chemistry

Thank you so much!
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: dita-ot 3.1 org.dita.pdf2 list bullet starts a new page
Hi,
Indeed DITA OT 3.7 was released a few days ago, looking in its release notes I do not see there anything specific to list item bullets though:
https://www.dita-ot.org/3.7/release-notes/
If at some point in the future you will want to try using the CSS based PDF publishing, CSS has its own properties to control page breaks:
https://www.oxygenxml.com/doc/versions/ ... aking.html
Regards,
Radu
Indeed DITA OT 3.7 was released a few days ago, looking in its release notes I do not see there anything specific to list item bullets though:
https://www.dita-ot.org/3.7/release-notes/
If at some point in the future you will want to try using the CSS based PDF publishing, CSS has its own properties to control page breaks:
https://www.oxygenxml.com/doc/versions/ ... aking.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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