I am using moderncv - and have a number of cventry
items, that contain individual item
s:
\section{Work Experience}
\cventry{Jan.~2010 -- Mar.~2013}{Project1}{Company1}{}{}{I worked on the following: \begin{itemize*}
\item Wrote foo \label{tocBar}
\item Made bar \label{tocBaz}
\item Improved baz
\end{itemize*}
}
\cventry{Apr.~2013 -- Mar.~2014}{Project2}{Company2}{}{}{I worked on the following: \begin{itemize*}
\item Wrote more stuff \label{tocTheory}
\item And improved theory of everything
\end{itemize*}
}
Now, I want to create internal (clickable) links that point to some specific \item - e.g. tocBar. Unfortunately, when I try to use \hyperref[some text]{tocBar}
, the link generated in the PDF points to the beginning of the section instead of the \item
itself.
Similar behavior if I use a \pageref{tocBar}
- though in that case, the page number created is correct; it's just the link generated that is wrong (and takes me to the beginning of the section instead of the \item
).
Is there anything I can do to create properly working links to individual items?
EDIT: I added a complete, reproducible example here: https://gist.github.com/ttsiodras/76572cb3446cb8b1ad878640337e45b5 Try clicking the generated link in the 1st page, and you'll see it navigates to the 2nd page instead of the 3rd one (that actually contains the element pointed to).
\documentclass
to\end{documant}
– Elad Den May 31 '20 at 9:33