[latex3-commits] [latex3/hyperref] develop: more ntheorem help sigh (c28e4d5)
github at latex-project.org
github at latex-project.org
Fri Jul 7 10:45:03 CEST 2023
Repository : https://github.com/latex3/hyperref
On branch : develop
Link : https://github.com/latex3/hyperref/commit/c28e4d503c762e9a197552df1b1dd5f6920acc7a
>---------------------------------------------------------------
commit c28e4d503c762e9a197552df1b1dd5f6920acc7a
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Jul 7 10:45:03 2023 +0200
more ntheorem help sigh
>---------------------------------------------------------------
c28e4d503c762e9a197552df1b1dd5f6920acc7a
ChangeLog.txt | 5 +++++
hyperref.dtx | 2 +-
nameref.dtx | 1 +
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 0c9421d..62e2f83 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,8 @@
+2023-07-07 Ulrike Fischer
+ * make \Hy@@SectionAnchor safe in a MakeUppercase, issue 281
+ * reset also \ltx at label of amsmath (avoids problems with ntheorem and classes like svmono)
+
+
2023-06-25 Ulrike Fischer
* define the amsmath \ifmeasuring@ always as external package depend on hyperref doing it.
diff --git a/hyperref.dtx b/hyperref.dtx
index 51086eb..a1db39f 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -7633,7 +7633,7 @@
\def\HyPat at ObjRef/{.+}
% \end{macrocode}
% Load package |url.sty| and save the meaning of
-% the original \cmd{\url} in \cmd{\nolinkurl}.
+% the original \cmd{\url} in \cmd{\HyOrg at url}.
% \begin{macrocode}
\RequirePackage{url}
\let\HyOrg at url\url
diff --git a/nameref.dtx b/nameref.dtx
index d50f4fe..afd77c5 100644
--- a/nameref.dtx
+++ b/nameref.dtx
@@ -300,6 +300,7 @@
\MessageBreak Check your packages!
\MessageBreak Replacing it with the kernel definition}
\let\label\NR at label@copy
+ \let\ltx at label\label %for amsmath
\fi
\AddToHookWithArguments{label}{\def\label at name{#1}\label at hook}
}
More information about the latex3-commits
mailing list.