In the MWE below, the first and second references link to eq. (I.1), and the third and fourth equation references both link to eq. (2.1). While they should link to eq. (I.1), (1.1), (II.1) and (2.1), respectively.

What causes this error here?


\usepackage[colorlinks,citecolor=blue,urlcolor=blue,linkcolor=blue,pdfencoding=auto, psdextra]{hyperref}


a = b

a = part 1

a = chap 1

a = chap 2

\cref{eq:I_1}, \cref{eq:chap_1}, \cref{eq:II_1}, \cref{eq:chap_2}.

  • Some times the older .aux files are not updated appropriately. In the same directory of your .tex file, there is a file with the same name and ends with .aux. Remove it and try to compile the document again. Commented Mar 23, 2019 at 12:29
  • @moewe You are right, I misread the question.
    – TeXnician
    Commented Mar 23, 2019 at 12:32
  • Related tex.stackexchange.com/q/6098/35864, tex.stackexchange.com/q/3188/35864. hypertexnames=false could also help here.
    – moewe
    Commented Mar 23, 2019 at 14:17

1 Answer 1


hyperref interally names the links after your \numberwithin commands as equation.\theHpart.\arabic{equation} and equation.\theHchapter.\arabic{equation}. As \theHpart is defined as \arabic{part} and \theHchapter as \arabic{chapter} this leads to duplicated destination names. So you get warnings in the log:

l.102 \begin{equation}
                      pdfTeX warning (ext4): destination with the same identifi
er (name{equation.2.1}) has been already used, duplicate ignored
<to be read again> 

One solution is e.g. to change \theHpart so that an unique destination is created:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .