The TeX FAQ

Frequently Asked Question List for TeX

Usage

Hyperref and repeated page numbers

The book class (and its friends and relations) automatically changes the display of page numbers in the frontmatter of the document to lower-case roman. This is fine for human readers, but if hyperref has been misconfigured, the existence of pages that have the same page number can cause problems. Fortunately, the configuration options to make hyperref “do the right thing” are (by default) set up to avoid problems.

The two options in question are:

The two should be used whenever page numbering is not just “1…n”; they may be used independently, but usually are not.

The recipe isn’t perfect: it relies on \thepage being different for every page in the document. A common problem arises when there is an unnumbered title page, after which page numbers are reset: the pdfTeX warning of “duplicate destinations” will happen in this case, regardless of the options.

FAQ ID: Q-pdfpagelabels