Skip to content

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

Open
DetachHead wants to merge 1 commit into
DavBfr:masterfrom
DetachHead:fix-footer-page-number
Open

attempt to fix incorrect page number in table of contents when footer pushes section to the next page#1834
DetachHead wants to merge 1 commit into
DavBfr:masterfrom
DetachHead:fix-footer-page-number

Conversation

@DetachHead

Copy link
Copy Markdown

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