summaryrefslogtreecommitdiff
path: root/macros/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-04-23 03:01:08 +0000
committerNorbert Preining <norbert@preining.info>2023-04-23 03:01:08 +0000
commita439b072c2479fb06eea3b7ee406bb34fd38ed56 (patch)
tree45e19748fa4300502fc346ad41735a3a891ebf9d /macros/latex
parenta4c76fef0e3121b1a1844e39b7931828f9ec63b8 (diff)
CTAN sync 202304230301
Diffstat (limited to 'macros/latex')
-rw-r--r--macros/latex/contrib/hyperref/ChangeLog.txt4
-rw-r--r--macros/latex/contrib/hyperref/README.md2
-rw-r--r--macros/latex/contrib/hyperref/doc/backref.pdfbin206645 -> 206645 bytes
-rw-r--r--macros/latex/contrib/hyperref/doc/hyperref-doc.css1
-rw-r--r--macros/latex/contrib/hyperref/doc/hyperref-doc.pdfbin319722 -> 319827 bytes
-rw-r--r--macros/latex/contrib/hyperref/doc/hyperref-doc.tex4
-rw-r--r--macros/latex/contrib/hyperref/doc/hyperref-linktarget.pdfbin439270 -> 439327 bytes
-rw-r--r--macros/latex/contrib/hyperref/doc/hyperref.pdfbin2358985 -> 2360065 bytes
-rw-r--r--macros/latex/contrib/hyperref/doc/nameref.pdfbin180085 -> 180085 bytes
-rw-r--r--macros/latex/contrib/hyperref/hluatex.dtx4
-rw-r--r--macros/latex/contrib/hyperref/hyperref-linktarget.dtx2
-rw-r--r--macros/latex/contrib/hyperref/hyperref-patches.dtx2
-rw-r--r--macros/latex/contrib/hyperref/hyperref.dtx13
-rw-r--r--macros/latex/contrib/hyperref/xr-hyper.sty2
14 files changed, 23 insertions, 11 deletions
diff --git a/macros/latex/contrib/hyperref/ChangeLog.txt b/macros/latex/contrib/hyperref/ChangeLog.txt
index ede86c2c91..dc719fbcf5 100644
--- a/macros/latex/contrib/hyperref/ChangeLog.txt
+++ b/macros/latex/contrib/hyperref/ChangeLog.txt
@@ -1,3 +1,7 @@
+2023-04-22 Ulrike Fischer
+ * fix cleveref/ntheorem incompability https://tex.stackexchange.com/q/683581/2388
+ * add nopatch option for \@thm
+
2023-04-20 Ulrike Fischer
* fix spacing issues in theorems with new \@thm handling, issues 11,48.
This requires etoolbox and the LaTeX para hooks.
diff --git a/macros/latex/contrib/hyperref/README.md b/macros/latex/contrib/hyperref/README.md
index b907484319..ca1e336ae6 100644
--- a/macros/latex/contrib/hyperref/README.md
+++ b/macros/latex/contrib/hyperref/README.md
@@ -1,6 +1,6 @@
# README for hyperref bundle
-Version 2023-04-20 v7.00w
+Version 2023-04-22 v7.00x
## INTRODUCTION
diff --git a/macros/latex/contrib/hyperref/doc/backref.pdf b/macros/latex/contrib/hyperref/doc/backref.pdf
index 60d2989716..0f907044c5 100644
--- a/macros/latex/contrib/hyperref/doc/backref.pdf
+++ b/macros/latex/contrib/hyperref/doc/backref.pdf
Binary files differ
diff --git a/macros/latex/contrib/hyperref/doc/hyperref-doc.css b/macros/latex/contrib/hyperref/doc/hyperref-doc.css
index a135ec3c7e..328505fcb2 100644
--- a/macros/latex/contrib/hyperref/doc/hyperref-doc.css
+++ b/macros/latex/contrib/hyperref/doc/hyperref-doc.css
@@ -318,3 +318,4 @@ span.HoLogo-LaTeX2e span.HoLogo-2{padding-left:.15em;}
span.HoLogo-LaTeX2e span.HoLogo-e{position:relative;top:.35ex;text-decoration:none;}
/* end css.sty */
+
diff --git a/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf b/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
index 438d91628e..63539a50a2 100644
--- a/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
+++ b/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/hyperref/doc/hyperref-doc.tex b/macros/latex/contrib/hyperref/doc/hyperref-doc.tex
index 05b8a02882..d9c272e811 100644
--- a/macros/latex/contrib/hyperref/doc/hyperref-doc.tex
+++ b/macros/latex/contrib/hyperref/doc/hyperref-doc.tex
@@ -166,7 +166,7 @@
}
\makeatother
\title{Hypertext marks in \hologo{LaTeX}: a manual for \xpackage{hyperref}}
-\date{2023-04-20 v7.00w}
+\date{2023-04-22 v7.00x}
\begin{document}
@@ -571,6 +571,8 @@ side-effects must be carefully tested!
\item[longtable] hyperref redefines \cs{LT@start} and \cs{LT@array} to move the targets in a better place.
This code can be suppressed by defining \cs{hyper@nopatch@longtable}
+
+\item[theorems] hyperref patches \cs{@thm}. This code can be suppressed by defining \cs{hyper@nopatch@thm}
\end{description}
\section{Package options}
diff --git a/macros/latex/contrib/hyperref/doc/hyperref-linktarget.pdf b/macros/latex/contrib/hyperref/doc/hyperref-linktarget.pdf
index b0aa5d88ef..dc4e5313a7 100644
--- a/macros/latex/contrib/hyperref/doc/hyperref-linktarget.pdf
+++ b/macros/latex/contrib/hyperref/doc/hyperref-linktarget.pdf
Binary files differ
diff --git a/macros/latex/contrib/hyperref/doc/hyperref.pdf b/macros/latex/contrib/hyperref/doc/hyperref.pdf
index aeac628c4f..592cd5be4a 100644
--- a/macros/latex/contrib/hyperref/doc/hyperref.pdf
+++ b/macros/latex/contrib/hyperref/doc/hyperref.pdf
Binary files differ
diff --git a/macros/latex/contrib/hyperref/doc/nameref.pdf b/macros/latex/contrib/hyperref/doc/nameref.pdf
index 494981728d..eabd2ab2a4 100644
--- a/macros/latex/contrib/hyperref/doc/nameref.pdf
+++ b/macros/latex/contrib/hyperref/doc/nameref.pdf
Binary files differ
diff --git a/macros/latex/contrib/hyperref/hluatex.dtx b/macros/latex/contrib/hyperref/hluatex.dtx
index 820de6d591..876b0cedbb 100644
--- a/macros/latex/contrib/hyperref/hluatex.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/hyperref/hyperref-linktarget.dtx b/macros/latex/contrib/hyperref/hyperref-linktarget.dtx
index dc3de779e6..6466ef0203 100644
--- a/macros/latex/contrib/hyperref/hyperref-linktarget.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/hyperref/hyperref-patches.dtx b/macros/latex/contrib/hyperref/hyperref-patches.dtx
index a543b81d66..4dd20ba53a 100644
--- a/macros/latex/contrib/hyperref/hyperref-patches.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/hyperref/hyperref.dtx b/macros/latex/contrib/hyperref/hyperref.dtx
index 94376fea47..dfe514a065 100644
--- a/macros/latex/contrib/hyperref/hyperref.dtx
+++ b/macros/latex/contrib/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}
diff --git a/macros/latex/contrib/hyperref/xr-hyper.sty b/macros/latex/contrib/hyperref/xr-hyper.sty
index 6534d0dd34..b7871a4336 100644
--- a/macros/latex/contrib/hyperref/xr-hyper.sty
+++ b/macros/latex/contrib/hyperref/xr-hyper.sty
@@ -61,7 +61,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xr-hyper}
- [2023-04-20 v7.00w eXternal References (DPC)]
+ [2023-04-22 v7.00x eXternal References (DPC)]
\def\externaldocument{\@testopt\XR@cite{}}
\let\externalcitedocument\externaldocument