하위 번호가 붙은 방정식 그룹에 대한 IEEEeqnarray 하이퍼링크

하위 번호가 붙은 방정식 그룹에 대한 IEEEeqnarray 하이퍼링크

IEEEeqnarray 하위 번호 매기기 및 hyperref 패키지를 사용하면 하위 번호가 매겨진 방정식에 대한 하이퍼 참조가 제대로 작동합니다. 하지만 방정식 그룹을 참조하려고 하면 레이블을 찾을 수 없습니다.

예시 문서:

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

저는 TexLive 2012와 최신 버전의 IEEEtrantools.sty를 사용하고 있습니다. 컴파일러 오류 메시지가 표시됩니다: pdfTeX 경고(dest): name{equation.0.0.3}이 참조되었지만 존재하지 않으며 수정된 이름으로 대체되었습니다.

pdfTeX 경고(dest): name{equation.0.0.2}가 참조되었지만 존재하지 않으며 수정된 이름으로 대체되었습니다.

pdfTeX 경고(dest): name{equation.0.0.1}이 참조되었지만 존재하지 않으며 수정된 이름으로 대체되었습니다.

왜 이런 것인지 아시나요? 위에 표시된 시도에 대해 더 이상 순열을 생각할 수 없습니다. 감사해요!

답변1

확실한 마커를 배치하세요 -\phantomsection -~ 후에\IEEEyesnumber적절한 하이퍼타겟을 표시하기 위해 모든 :

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

\IEEEyessubnumber\IEEEyesnumber레이블 표시 측면에서 사용을 재정의합니다 . 그러나 이 시점에서 \phantomsection배치는 하위 방정식을 따르는 것과는 이미 적절한(다른) 하이퍼타겟을 설정했습니다 \label.

관련 정보