Alignment of page numbers in TOC on the right side. How?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Alignment of page numbers in TOC on the right side. How?
Good day everyone!
There was such a question: the standard way to generate a table of contents (at the same time with the document) - generates page numbers that are not aligned on the right side (it would be much more accurate) - I tried to show this in the attached picture.
Is there any way to improve this point?
Thank you in advance!
There was such a question: the standard way to generate a table of contents (at the same time with the document) - generates page numbers that are not aligned on the right side (it would be much more accurate) - I tried to show this in the attached picture.
Is there any way to improve this point?
Thank you in advance!
- 2.jpg (25.32 KiB) Viewed 628 times
-
- Posts: 907
- Joined: Thu May 02, 2019 2:32 pm
Re: Alignment of page numbers in TOC on the right side. How?
Post by chrispitude »
Hi Dan,
When I generate a generic pdf-css-html5 PDF with no custom CSS, all the page numbers are properly right-aligned.
If you temporarily remove your CSS, does it publish correctly?
When I generate a generic pdf-css-html5 PDF with no custom CSS, all the page numbers are properly right-aligned.
If you temporarily remove your CSS, does it publish correctly?
Re: Alignment of page numbers in TOC on the right side. How?
Hello, Chrispitude!
Yes, just checked - it's only with my Custom CSS! Without him, everything is fine. But I need it to be good with him ...
A small observation where such unaliging occurs: my TOC contains paragraphs with different font sizes and styles. For example:
1.Example (size 14, normal)
1.1. Example (size 10, italic )
1.1.1. Example (size 8, normal )
And all the page numbers of these items are displayed not aligned with each other.
Yes, just checked - it's only with my Custom CSS! Without him, everything is fine. But I need it to be good with him ...
A small observation where such unaliging occurs: my TOC contains paragraphs with different font sizes and styles. For example:
1.Example (size 14, normal)
1.1. Example (size 10, italic )
1.1.1. Example (size 8, normal )
And all the page numbers of these items are displayed not aligned with each other.
-
- Posts: 907
- Joined: Thu May 02, 2019 2:32 pm
Re: Alignment of page numbers in TOC on the right side. How?
Post by chrispitude »
Hi Dan,
I created a testcase with the TOC styles you described, but I can't reproduce the misalignment:
Can you share a simple testcase that reproduces the issue, or perhaps modify the testcase above to reproduce it?
- Chris
I created a testcase with the TOC styles you described, but I can't reproduce the misalignment:
- chemistry_deep_toc.zip
- (17.02 KiB) Downloaded 126 times
Can you share a simple testcase that reproduces the issue, or perhaps modify the testcase above to reproduce it?
- Chris
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