Skip to content

attempt to fix incorrect page number in table of contents when footer pushes section to the next page #1834

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DetachHead
Copy link

fixes #1120

i'm still trying to figure out what the fix is. i think my attempt here is at least partially correct, as it now creates an entry for both the wrong page number and the correct one:

image

i'm trying to just delay the rendering of the table of contents until after the correct page numbers for each section have been determined. i tried wrapping TableOfContent in a DelayedWidget but that didn't seem to have any effect. any guidance would be appreciated, thanks

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

Successfully merging this pull request may close these issues.

TableOfContent shows incorrect page number when footer margin pushes Header to the next page in MultiPage
1 participant