Duplicate identifiers with hyperref in pdflatex
The following warning is fairly common when hyperref is used with PDFLaTeX:
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).
! 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:
\renewcommand{\thepage}{\roman{page}}
\maketitle
\renewcommand{\thepage}{\arabic{page}}
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).
0 Comments:
Post a Comment
<< Home