Jump to content

Page labels in generated PDF files


Recommended Posts

A PDF has logical page numbers which start at one and increase monotonically, and it has _page labels_ which are set by the app that creates or edits the PDF. Page labels are for humans; not only are they what Acrobat looks for when you use the Goto Page command, they also make print replica page numbers work: If the TOC or the index of a book point to page 100, and the PDF has two pages of cover and eight pages of front matter, then logical page 110 will have "100" printed at its bottom even though one must enter "110" into the Goto Page dialogue.

Page labels fix this by labeling the PDF pages, e.g., C1, C2, i–viii, 1–200, such that the page labeled "100" is the logical page 110.

It would be splendid if Publisher could, at the start of each section, tag the first PDF page of the section with the page label information; iText has that functionality, and I am fairly sure that PDFlib, built on top of iText, has it, too. PDF viewers will gladly count up from there.

I hasten to add that PDF page labels consist of a prefix and a page counter, either or both of which may be suppressed, and that Adobe only has five counter styles (arabic, Roman upper and lower case, alphabetical upper and lower case) with auto-numbering. If a different style is required, Publisher could either fall back the the current behaviour (no page labels), or it could set the auto-numbering to "none" and generate a fresh page label for each PDF page.

Thank you for considering this!

Felix.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.