Hiperlinks IEEEeqnarray para um grupo de equações subnumeradas

Hiperlinks IEEEeqnarray para um grupo de equações subnumeradas

Quando eu uso a subnumeração IEEEeqnarray e o pacote hyperref, os hiperrefs para as equações subnumeradas funcionam bem; mas se tento fazer referência ao grupo de equações, o rótulo não é encontrado.

Exemplo de documento:

\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}

Estou usando o TexLive 2012 e a versão mais recente do IEEEtrantools.sty. Mensagens de erro do compilador são emitidas: aviso pdfTeX (dest): name{equation.0.0.3} foi referenciado mas não existe, substituído por um fixo

Aviso do pdfTeX (dest): nome{equação.0.0.2} foi referenciado mas não existe, substituído por um fixo

Aviso do pdfTeX (dest): nome{equação.0.0.1} foi referenciado mas não existe, substituído por um fixo

Alguma idéia de por que isso seria? Não consigo pensar em mais permutações nas tentativas mostradas acima. Obrigado!

Responder1

Coloque um marcador definitivo - \phantomsection-depoiscada \IEEEyesnumberpara marcar o hiperalvo apropriado:

\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}

\IEEEyessubnumbersubstituirá o uso de \IEEEyesnumberem termos de exibição do rótulo. No entanto, neste ponto, o \phantomsectionposicionamento já estabeleceu um hipertarget apropriado (diferente) daquele que seguirá com a subequação \label.

informação relacionada