Alignment of page numbers in TOC on the right side. How?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 59
- Joined: Tue Sep 13, 2022 4:13 pm
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
You do not have the required permissions to view the files attached to this post.
-
- Posts: 922
- 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?
-
- Posts: 59
- Joined: Tue Sep 13, 2022 4:13 pm
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: 922
- 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
Can you share a simple testcase that reproduces the issue, or perhaps modify the testcase above to reproduce it?
- Chris
You do not have the required permissions to view the files attached to this post.
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