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 seems not well split #657

Open
benoitrolland opened this issue May 8, 2022 · 2 comments
Open

TOC seems not well split #657

benoitrolland opened this issue May 8, 2022 · 2 comments

Comments

@benoitrolland
Copy link

benoitrolland commented May 8, 2022

At end of TOC, in my case two <li class="toc-entry"> nodes, are not showing.

asciidoctor-web-pdf --version
Asciidoctor Web PDF 1.0.0-alpha.14 using Asciidoctor.js 2.2.6 (Asciidoctor 2.0.17) [https://asciidoctor.org]
Runtime Environment (node v16.14.0 on win32)
CLI version 3.5.0

@ggrossetie
Copy link
Owner

Could you please post a sample document that reproduces this issue and/or a screenshot?

@benoitrolland
Copy link
Author

benoitrolland commented May 8, 2022

Sorry but I couldn't manage to reduce the problem to a test case. I guess that css must be part of the problem.
I could solve my "complex" case by not including in the TOC the single root level that I had (TOME I).

Just to show that I am not kidding ;-)

tocNotWellSplit

The two element-zones are overlaping, one line is lost here and the page is not split:
tocNotWellSplit2

adding visibility: hidden; on the pagejs_margin-bottom <div> or deleting it using chrome's dev-tools, doesn't show the missing <li>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants