hyperref icon indicating copy to clipboard operation
hyperref copied to clipboard

amsthm anchor on wrong page

Open u-fischer opened this issue 1 year ago • 1 comments

This still seems not to be correct always: https://tex.stackexchange.com/q/691262/2388

This should really be fix in amsthm directly ...

u-fischer avatar Mar 29 '24 22:03 u-fischer

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}

leanhdung1994 avatar Oct 18 '24 22:10 leanhdung1994

I got a reply

Image

Hopefully, the next release will be out soon.

leanhdung1994 avatar Jun 24 '25 20:06 leanhdung1994