Hipervínculos IEEEeqnarray a un grupo de ecuaciones subnumeradas

Hipervínculos IEEEeqnarray a un grupo de ecuaciones subnumeradas

Cuando uso la subnumeración IEEEeqnarray y el paquete hyperref, las hiperreferencias de las ecuaciones subnumeradas funcionan bien; pero si intento hacer referencia al grupo de ecuaciones, no se encuentra la etiqueta.

Documento de ejemplo:

\documentclass[12pt]{report}
\usepackage{IEEEtrantools}
\usepackage{hyperref}

\begin{document}
When I create an IEEEeqnarray with subequation numbering and try to point back to the group of equations, the hyperrefs are broken.

\newpage

\begin{IEEEeqnarray}{rCl}\label{eqn:FirstParentLabel}
f(x) &=& 5x \IEEEyesnumber\IEEEyessubnumber\label{eqn:FirstSubeqnLabel}
\end{IEEEeqnarray}

\begin{IEEEeqnarray}{rCl}\IEEEyesnumber\label{eqn:SecondParentLabel}
g(x) &=& \pi \IEEEyesnumber\IEEEyessubnumber\label{eqn:SecondSubeqnLabel}
\end{IEEEeqnarray}

\begin{IEEEeqnarray}{rCl}
h(x) &=& 42 \IEEEyesnumber\label{eqn:ThirdParentLabel}\IEEEyessubnumber\label{eqn:ThirdSubeqnLabel}
\end{IEEEeqnarray}

\begin{IEEEeqnarray}{rCl}
k(x) &=& C \label{eqn:FourthLabel}
\end{IEEEeqnarray}

\newpage

References to subequations work: \ref{eqn:FirstSubeqnLabel},\ref{eqn:SecondSubeqnLabel}, and \ref{eqn:ThirdSubeqnLabel}.  But references to groups of equations do not work: \ref{eqn:FirstParentLabel}, \ref{eqn:SecondParentLabel}, and \ref{eqn:ThirdParentLabel}.  If I don't use subnumbering everything works fine: \ref{eqn:FourthLabel}.

\end{document}

Estoy usando TexLive 2012 y la versión más reciente de IEEEtrantools.sty. Se emiten mensajes de error del compilador: Advertencia de pdfTeX (dest): se ha hecho referencia al nombre{equation.0.0.3} pero no existe, reemplazado por uno fijo

Advertencia de pdfTeX (destino): se ha hecho referencia al nombre {equation.0.0.2} pero no existe, se reemplazó por uno fijo

Advertencia de pdfTeX (destino): se ha hecho referencia al nombre {equation.0.0.1} pero no existe, se reemplazó por uno fijo

¿Alguna idea de por qué sería esto? No se me ocurren más permutaciones en los intentos mostrados arriba. ¡Gracias!

Respuesta1

Coloca un marcador definitivo - \phantomsection-despuéscada \IEEEyesnumberpara marcar el hiperobjetivo apropiado:

\begin{IEEEeqnarray}{rCl}\IEEEyesnumber\phantomsection\label{eqn:FirstParentLabel}
f(x) &=& 5x \IEEEyessubnumber\label{eqn:FirstSubeqnLabel}
\end{IEEEeqnarray}

\begin{IEEEeqnarray}{rCl}\IEEEyesnumber\phantomsection\label{eqn:SecondParentLabel}
g(x) &=& \pi \IEEEyessubnumber\label{eqn:SecondSubeqnLabel}
\end{IEEEeqnarray}

\begin{IEEEeqnarray}{rCl}\IEEEyesnumber\phantomsection\label{eqn:ThirdParentLabel}
h(x) &=& 42 \IEEEyessubnumber\label{eqn:ThirdSubeqnLabel}
\end{IEEEeqnarray}

\begin{IEEEeqnarray}{rCl}
k(x) &=& C \label{eqn:FourthLabel}
\end{IEEEeqnarray}

\IEEEyessubnumberanulará el uso de \IEEEyesnumberen términos de visualización de etiquetas. Sin embargo, en este punto, la \phantomsectionubicación ya ha establecido un hiperobjetivo apropiado (diferente) al que seguirá con la subecuación \label.

información relacionada