TOC - page numbers not on left of page
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 86
- Joined: Wed Feb 09, 2011 10:43 pm
TOC - page numbers not on left of page
Hello,
my page numbers in my toc are displayed next to the text of my toc content (all levels). I was able to change the font, the leader, the color etc. but the alignment remains a mystery.
Regards
Carole
my page numbers in my toc are displayed next to the text of my toc content (all levels). I was able to change the font, the leader, the color etc. but the alignment remains a mystery.
Regards
Carole
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: TOC - page numbers not on left of page
Hi Carole,
When generating PDF using Oxygen with the bundled DITA Open Toolkit without any customizations the table of contents should properly produce the table of contents with the numbers right aligned.
The XSLT code which build the XSL-FO for the TOC is located here:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\xsl\fo\toc.xsl
It uses XSL-FO constructs like:
to add a leader between the title and the page number. The __toc__leader attribute set is defined in:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/cfg/fo/attrs/toc-attr.xsl
I do not know what exactly you added in your XSLT customizations, did you overwrite these templates in the toc.xsl?
Regards,
Radu
When generating PDF using Oxygen with the bundled DITA Open Toolkit without any customizations the table of contents should properly produce the table of contents with the numbers right aligned.
The XSLT code which build the XSL-FO for the TOC is located here:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\xsl\fo\toc.xsl
It uses XSL-FO constructs like:
Code: Select all
<fo:leader xsl:use-attribute-sets="__toc__leader"/>
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/cfg/fo/attrs/toc-attr.xsl
I do not know what exactly you added in your XSLT customizations, did you overwrite these templates in the toc.xsl?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 86
- Joined: Wed Feb 09, 2011 10:43 pm
Re: TOC - page numbers not on left of page
Hello,
I was unable to see any differences between my files and the Oxygen's file. (of course besides color, weigth etc.) but it does not mean ther was none..... :)In the process, I managed to break my scenario. I had to start the TOC formatting from scratch (using the out of the box xsl.) and everything was solved.
At least now, it works.
Thanks for your quick response.
I was unable to see any differences between my files and the Oxygen's file. (of course besides color, weigth etc.) but it does not mean ther was none..... :)In the process, I managed to break my scenario. I had to start the TOC formatting from scratch (using the out of the box xsl.) and everything was solved.
At least now, it works.
Thanks for your quick response.
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