From a439b072c2479fb06eea3b7ee406bb34fd38ed56 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 23 Apr 2023 03:01:08 +0000 Subject: CTAN sync 202304230301 --- macros/latex/contrib/hyperref/ChangeLog.txt | 4 ++++ macros/latex/contrib/hyperref/README.md | 2 +- macros/latex/contrib/hyperref/doc/backref.pdf | Bin 206645 -> 206645 bytes macros/latex/contrib/hyperref/doc/hyperref-doc.css | 1 + macros/latex/contrib/hyperref/doc/hyperref-doc.pdf | Bin 319722 -> 319827 bytes macros/latex/contrib/hyperref/doc/hyperref-doc.tex | 4 +++- .../contrib/hyperref/doc/hyperref-linktarget.pdf | Bin 439270 -> 439327 bytes macros/latex/contrib/hyperref/doc/hyperref.pdf | Bin 2358985 -> 2360065 bytes macros/latex/contrib/hyperref/doc/nameref.pdf | Bin 180085 -> 180085 bytes macros/latex/contrib/hyperref/hluatex.dtx | 4 ++-- .../latex/contrib/hyperref/hyperref-linktarget.dtx | 2 +- macros/latex/contrib/hyperref/hyperref-patches.dtx | 2 +- macros/latex/contrib/hyperref/hyperref.dtx | 13 +++++++++---- macros/latex/contrib/hyperref/xr-hyper.sty | 2 +- 14 files changed, 23 insertions(+), 11 deletions(-) (limited to 'macros/latex/contrib/hyperref') 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 Binary files a/macros/latex/contrib/hyperref/doc/backref.pdf and b/macros/latex/contrib/hyperref/doc/backref.pdf 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 Binary files a/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf and b/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf 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 Binary files a/macros/latex/contrib/hyperref/doc/hyperref-linktarget.pdf and b/macros/latex/contrib/hyperref/doc/hyperref-linktarget.pdf differ diff --git a/macros/latex/contrib/hyperref/doc/hyperref.pdf b/macros/latex/contrib/hyperref/doc/hyperref.pdf index aeac628c4f..592cd5be4a 100644 Binary files a/macros/latex/contrib/hyperref/doc/hyperref.pdf and b/macros/latex/contrib/hyperref/doc/hyperref.pdf differ diff --git a/macros/latex/contrib/hyperref/doc/nameref.pdf b/macros/latex/contrib/hyperref/doc/nameref.pdf index 494981728d..eabd2ab2a4 100644 Binary files a/macros/latex/contrib/hyperref/doc/nameref.pdf and b/macros/latex/contrib/hyperref/doc/nameref.pdf 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 @@ %\ProvidesFile{puvnenc.def} %\ProvidesFile{puarenc.def} %\ProvidesFile{psdextra.def} -% [2023-04-20 v7.00w % +% [2023-04-22 v7.00x % % Hypertext links for LaTeX] % Dummy hyperref (SR)] % 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 -- cgit v1.2.3