Duplicate page numbers with Document.insert_pdf() #3346
Unanswered
wabiloo
asked this question in
Looking for help
Replies: 1 comment 2 replies
-
Partially answering my own question. However that does not really help with the links/TOC side of things. I find it strange that when defining the TOC from the page locations in the links, I need to add +1 to compensate for the inserted content... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have used Document.insert_pdf() to insert a single cover PDF page at the beginning of a PDF document.
All working fine.
When opening it in MacOS preview or in Acrobat Reader however, that page and the next both have a page number of "1".
Is that normal? Is there a way to renumber the pages?
Note: this also seems to affect my ability to work with links. Links in the original PDF document after insertion are still pointing to the correct page (ie. clicking on them sends me to the correct page), but if I try to create a TOC with them, I have to add 1 to get the TOC links to go to the correct page.
Beta Was this translation helpful? Give feedback.
All reactions