Problem with TOC in PDF
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 86
- Joined: Wed Feb 09, 2011 10:43 pm
Problem with TOC in PDF
Hello,
When I generate a PDF from a Dita map, some topic titles displayed in the TOC are too long to fit on one line. I end up with the text of the long title overlapping the next line. The TOC becomes unreadable. Is there a way to force a line brake in the TOC when there is to much text to be displayed on one line?
Thanks
When I generate a PDF from a Dita map, some topic titles displayed in the TOC are too long to fit on one line. I end up with the text of the long title overlapping the next line. The TOC becomes unreadable. Is there a way to force a line brake in the TOC when there is to much text to be displayed on one line?
Thanks
-
- Posts: 9447
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Problem with TOC in PDF
Hi,
In the OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/toc.xsl XSLT stylesheet there is a:
<fo:inline xsl:use-attribute-sets="__toc__title"......
Just remove the keep-together.within-line="always" attribute.
Regards,
Radu
In the OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/toc.xsl XSLT stylesheet there is a:
<fo:inline xsl:use-attribute-sets="__toc__title"......
Just remove the keep-together.within-line="always" attribute.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9447
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Problem with TOC in PDF
Hi Carole,
I do not really know, maybe you can look in the XSL-FO specification to see what attributes can be set on a "fo:bookmark-title" element, maybe one of them will do the trick.
Regards,
Radu
I do not really know, maybe you can look in the XSL-FO specification to see what attributes can be set on a "fo:bookmark-title" element, maybe one of them will do the trick.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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