hyperref
hyperref copied to clipboard
amsthm anchor on wrong page
This still seems not to be correct always: https://tex.stackexchange.com/q/691262/2388
This should really be fix in amsthm directly ...
I have reported this bug to [email protected] with the following example
\documentclass[11pt,a4paper]{memoir}
\usepackage{mathtools,amsthm,lipsum}
\usepackage[hypertexnames=false]{hyperref}
\usepackage[noabbrev,capitalize,nameinlink]{cleveref}
\hypersetup{
colorlinks=true,
linkcolor=blue
}
\numberwithin{equation}{chapter}
\newtheorem{theorem}{Theorem}[chapter]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlrmarginsandblock{2.5cm}{2.5cm}{*}
\setulmarginsandblock{2.5cm}{*}{1}
\checkandfixthelayout
\begin{document}
\chapter{Preliminary}
\lipsum[1-5]
\begin{theorem} \label{prelim}
Something here.
\end{theorem}
The jump to \cref{prelim} is wrong.
\end{document}
I got a reply
Hopefully, the next release will be out soon.