Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToC with overlapping text and page numbers #839

Closed
GeraldLoeffler opened this issue Aug 23, 2017 · 3 comments
Closed

ToC with overlapping text and page numbers #839

GeraldLoeffler opened this issue Aug 23, 2017 · 3 comments
Assignees
Labels

Comments

@GeraldLoeffler
Copy link

The table of contents generated for my - admittedly very long - section headings shows those headings overlapping with the page numbers (see screenshot).
I'm on the latest release of asciidoctor-pdf and all dependencies.

asciidoctor-pdf-toc-overflow

@franksauer
Copy link

I have the same problem. No solution for that? I could not find any possibilities to adjust the width of the section headings in the toc - only the indent can be changed in the theme.yml.

@mojavelinux
Copy link
Member

This happens when section numbering is enabled. It seems we are not accounting for the width of the section number when determining where to initiate the wrap.

@mojavelinux mojavelinux self-assigned this Nov 25, 2018
@mojavelinux mojavelinux added this to the v1.5.0.alpha.17 milestone Nov 25, 2018
@mojavelinux
Copy link
Member

Actually, that's not the case. It can run into the number even when sectnums are not enabled.

mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue Nov 25, 2018
mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue Nov 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants