LaTeX warning "destination with the same identifier (name{page.1}) has been already used, duplicate ignored": cause and fix

Warning destination with the same identifier (name{page.1}) has been already used, duplicate ignored

hyperref gives every page, section, figure and equation a link target whose name is built from the counter, such as page.1 or figure.2. Two targets got the same name, and pdfTeX kept the first. Links to the second one, for example from the table of contents, jump to the first.

Why it happens

How to fix it

A document that produces the message

\documentclass{report}
\usepackage{hyperref}
\begin{document}
\begin{titlepage}
\centering My Thesis
\end{titlepage}
\chapter{Introduction}
Text.
\end{document}

Open in the editor

The corrected document

\documentclass{report}
\usepackage{hyperref}
\begin{document}
\pagenumbering{Alph}
\begin{titlepage}
\centering My Thesis
\end{titlepage}
\pagenumbering{arabic}
\chapter{Introduction}
Text.
\end{document}

Open in the editor

Both documents were compiled with pdfLaTeX from TeX Live 2023. The first produces the message, the second compiles without an error.

Finding the line in the editor

The editor lists every error and warning of a compile run with file and line. Select an entry and the cursor jumps to that line. See Error list with jump to the line.

Related pages