[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#574440: [texlive-latex-base] hyperref+pdflatex is confused by tag-macro in equations, pls. update hyperref



Package: texlive-latex-base
Version: 2009-8
Severity: wishlist

--- Please enter the report below this line. ---
The example at the end produces an obscure warning when run with pdflatex:

----

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}pdfTeX warning (ext4): des
tination with the same identifier (name{equation.1.1.2}) has been already used,
 duplicate ignored

\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi l.28 \end{document}
                   ] (./test.aux)

----

and compiles just fine when run with latex alone. Note that the number/name it complains about does not even appear in the aux-file. Also it appears that the jump target of the ref macros is the tagged label csstar also for the following label xyz, consistent with the action in the warning.

The hyperref version is 6.79a. I'm told that with the more recent
version 6.80n this warning does not occur. So please, if possible, update the hyperref package.

With kind regards, Lutz Lehmann

---- test.tex ----------
\listfiles
\documentclass{report}

\usepackage{amsmath}
\usepackage{hyperref}

\begin{document}

\chapter{first chapter}

equation \ref{csstar} and \ref{int}
\begin{equation}
a=b\label{xyz}
\end{equation}


\section{first section}
%** This tag produces the warning **
\begin{equation}
1=3-2\label{csstar}\tag{\text{CR${}^*$}}
\end{equation}
\refstepcounter{equation}
equation \ref{xyz}

\begin{equation}
\int x\, dx=x^2/2\label{int}
\end{equation}

\end{document}
---- end of test.tex -----

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.33-0.slh.9-sidux-686

Debian Release: squeeze/sid
  990 unstable        mrene
  500 stable          mrene

--- Package information. ---
Depends                 (Version) | Installed
=================================-+-=============
dpkg                 (>= 1.14.18) | 1.15.5.6
tex-common              (>= 2.00) | 2.07
texlive-base          (>= 2009-1) | 2009-8
texlive-common        (>= 2009-1) | 2009-8
texlive-binaries      (>= 2009-1) | 2009-5
debconf                 (>= 0.5)  | 1.5.28
OR debconf-2.0 | ucf | 3.0025
debconf              (>= 1.4.69)  | 1.5.28
OR cdebconf (>= 0.39) | dpkg (>= 1.14.18) | 1.15.5.6


Package Status      (Version) | Installed
=============================-+-===========
tetex-bin | tetex-base | tetex-extra | tex-common | 2.07


Recommends                  (Version) | Installed
=====================================-+-===========
texlive-latex-base-doc                | 2009-8


Suggests       (Version) | Installed
========================-+-===========
debhelper     (>= 7.0.8) | 7.4.15



--- Output from package bug script ---





Reply to: