Consider the following simple example:
\documentclass[12pt,a4paper]{article}
\usepackage{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
the first page
\clearpage
the second page \label{key}
\clearpage
I want to return to page \pageref{key}, but return to page 1 when clicking the typeset number "2".
\end{document}
Why is the \pageref not working as expected?
\phantomsection\label{key}and try again. – Werner Sep 20 '17 at 04:51\phantomsection? – Werner Sep 20 '17 at 05:25