Skip to content
Discussion options

You must be logged in to vote

You're not missing an option in the TOC tool. Bookmarks and TOC links point at physical pages, and after the TOC is prepended your "page 1" really is the 2nd page of the file, so the link has to target page 2. What you want is for the viewer to call that page 1, and that's what PDF page labels are for.

BentoPDF has an Add Page Labels tool for exactly this. Run it on the PDF after generating the TOC, with two rules:

  • Page range 1, style Lowercase Roman (the TOC page becomes "i")
  • Page range 2-end, style Decimal Arabic, start value 1 (a bare 2- is rejected as a bad page spec, 2-end or 2-61 work)

Keep "Remove existing page labels" checked (it is by default). If your TOC spans more than one p…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by killthewabbit-therealone
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants