diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref')
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} |