Possible Duplicate:
Incorrect target of \label link produced by hyperref
Labeling and linking in LaTeX confuses me.
I have something like the following:
\section{main section}
\label{sec:mainsection}
%lots of text
\label{SomethingDescribedButNotDocumentElement}
%more text
I want to be able to link to the second label, but it seems those labels are associated with the previous document element (in this case a main section)
So something like:
\hyperref[SomethingDescribedButNotDocumentElement]{link to 2nd label}
But this jumps up to the sec:mainsection label.
- How do I link to an arbitrary section of my document (which may be not described by
sectionorfigureetc)?
\pagerefinstead of\ref? – cmhughes Jan 16 '13 at 22:25\phantomsection?. – barbara beeton Jan 16 '13 at 22:40