This blog has moved! Redirecting...
You should be automatically redirected. If not, visit and update your bookmarks.

Monday, October 01, 2007

Duplicate identifiers with hyperref in pdflatex

The following warning is fairly common when hyperref is used with PDFLaTeX:

! pdfTeX warning (ext4): destination with the same identifier (name{page.1}) ha
s been already used, duplicate ignored

The solution is to use the 'plainpages=false' option with hyperref.

However, this appears to be insufficient for the article class with the 'titlepage' option. To remedy the warning the following is additionally needed around the \maketitle in the body of the document:


By switching the style of page counter before and after the title page, any ambiguity regarding page numbers is resolved (title page is logically page 1 but LaTex re-initiates the counter on the actual page 1 - leading to 2 successive page 1s).


Post a Comment

<< Home