# [pdftex] Strange error: hyperref meets multline

Victor Ivrii vivrii at gmail.com
Sat Mar 8 22:50:59 CET 2008

I found a strange error (after massive usage of the construction
similar to the following)

\documentclass[12pt]{article}

\usepackage[leqno]{amsmath}
\usepackage{amssymb}

\usepackage{hyperref}

\begin{document}
$$1+1=2 \label{A}$$

\newpage

\begin{multline}
2+1=2
\label{B}\tag*{$(\ref*{A})^*$}
\end{multline}

\newpage

\ref{B}

\end{document}

Document looks fine but the link on the third page which should lead
to the second one leads actually to the first.
It does not happen if I use {equation} or {align} instead of
{multline}. It also happens if I use \tag*{$(\ref{A})^*$}
It also happens if I use {mathtools} instead of {amsmath}

I use pdfTeX 3.141592-1.40.3-2.2 (Web2C 7.5.6) kpathsea version 3.5.6
latest hyperref and mathtools

Probably this is a bug

Best   Victor

--
========================
Victor Ivrii, Professor, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii