summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-04-22 20:04:22 +0000
committerKarl Berry <karl@freefriends.org>2023-04-22 20:04:22 +0000
commit62d8c6cfe7cb3015c2404fb60639883edeed3266 (patch)
tree53b63eae60233db8ffa4b2a2ee3f212a434cc003 /Master/texmf-dist/source/latex
parent3ca9b8d59a693c1148657aa16020c0c3d3a18397 (diff)
hyperref (22apr23)
git-svn-id: svn://tug.org/texlive/trunk@66916 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hluatex.dtx4
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref-linktarget.dtx2
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref-patches.dtx2
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx13
4 files changed, 13 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hluatex.dtx b/Master/texmf-dist/source/latex/hyperref/hluatex.dtx
index 820de6d5919..876b0cedbb7 100644
--- a/Master/texmf-dist/source/latex/hyperref/hluatex.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hluatex.dtx
@@ -1,6 +1,6 @@
% \iffalse
% Source File: hluatex.dtx
-% 2023-04-20 v7.00w
+% 2023-04-22 v7.00x
%
% Copyright
% 2016-2019 Oberdiek Package Support Group
@@ -31,7 +31,7 @@
%
% \begin{macrocode}
%<*luatex>
-%% 2023-04-20 v7.00w
+%% 2023-04-22 v7.00x
%% force unicode encoding, see issue #101
%% code mostly copied from hxetex.def
\HyPsd@LoadUnicode
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref-linktarget.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref-linktarget.dtx
index dc3de779e6f..6466ef02033 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref-linktarget.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref-linktarget.dtx
@@ -53,7 +53,7 @@
% }^^A
% }
%
-% \date{Version 2023-04-20 v7.00w}
+% \date{Version 2023-04-22 v7.00x}
%
% \maketitle
% \begin{documentation}
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref-patches.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref-patches.dtx
index a543b81d66f..4dd20ba53ad 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref-patches.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref-patches.dtx
@@ -55,7 +55,7 @@
% }^^A
% }
%
-% \date{Version 2023-04-20 v7.00w}
+% \date{Version 2023-04-22 v7.00x}
%
% \maketitle
% \begin{documentation}
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
index 94376fea474..dfe514a065b 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
@@ -52,7 +52,7 @@
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
%<psdextra>\ProvidesFile{psdextra.def}
-%<!none&!packageEnd> [2023-04-20 v7.00w %
+%<!none&!packageEnd> [2023-04-22 v7.00x %
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -10996,10 +10996,15 @@
\global\let\@currentHref\Hy@tempa
}%
}
+\@ifundefined{hyper@nopatch@thm}{%
\AtBeginDocument{%
-\ifpatchable\@thm{\refstepcounter}
- {\patchcmd\@thm{\refstepcounter}{\Hy@theorem@refstepcounter}{}{}}
- {}}
+ \@ifpackageloaded{cleveref}
+ {\AddToHook{cmd/@thm/before}{\ifhmode\unskip\fi}}
+ {%
+ \ifpatchable\@thm{\refstepcounter}
+ {\patchcmd\@thm{\refstepcounter}{\Hy@theorem@refstepcounter}{}{}}
+ {}%
+ }}}{}
% \end{macrocode}
%
% \section{Footnotes}\label{footnotes}