Closed nstanger closed 4 years ago
The solution is to use \phantomsection
from hyperref
instead of manually writing the auxiliary file:
\phantomsection\label{page.integrity}
Note: not useful for num.pages
as it requires hyperref
.
Probably not worth officially documenting other than here, as it’s rather an extreme edge case.
e.g.,
\otherinstructions{Please read and abide by the Academic Integrity Notice on page~\pageref{page.integrity}. …}
causes a crash:page.integrity
is manually created on page 2:Could it be crashing because the label hasn’t been defined yet?