From e2b471ee57adf753b0637108df1aa1e2fc378721 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 25 Jun 2023 22:26:58 +0000 Subject: hyperref (26jun23) git-svn-id: svn://tug.org/texlive/trunk@67471 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hyperref/backref.sty | 6 +- Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/hdvips.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/hdvipson.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/hluatex.def | 10 ++-- Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg | 8 +-- Master/texmf-dist/tex/latex/hyperref/htex4ht.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/htexture.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/hvtex.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/hxetex.def | 8 +-- .../tex/latex/hyperref/hyperref-patches.sty | 6 +- Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 66 +++++++++------------- Master/texmf-dist/tex/latex/hyperref/hypertex.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/nameref.sty | 23 ++++++-- .../texmf-dist/tex/latex/hyperref/nohyperref.sty | 8 +-- Master/texmf-dist/tex/latex/hyperref/pd1enc.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/psdextra.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/puarenc.def | 8 +-- .../texmf-dist/tex/latex/hyperref/puenc-extra.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/puenc.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/puvnenc.def | 8 +-- Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty | 2 +- 27 files changed, 141 insertions(+), 140 deletions(-) (limited to 'Master/texmf-dist/tex/latex/hyperref') diff --git a/Master/texmf-dist/tex/latex/hyperref/backref.sty b/Master/texmf-dist/tex/latex/hyperref/backref.sty index 2b2131a5679..a21a6248b48 100644 --- a/Master/texmf-dist/tex/latex/hyperref/backref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/backref.sty @@ -7,10 +7,10 @@ %% backref.dtx (with options: `package') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 1cda9d8ba94..a137d14b3d1 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `dvipdfm,pdfform,outlines') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdvipdfm.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for dvipdfm] \Hy@VersionCheck{hdvipdfm.def} \special{pdf:majorversion \Hy@pdf@majorversion} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index 3d3a2121fba..0d62308d252 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `dvips') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdvips.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for dvips] \Hy@VersionCheck{hdvips.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def index e2c45319e02..2ea352861ba 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `dvipsone') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdvipson.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for dvipsone] \Hy@VersionCheck{hdvipson.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def index 01afb64b524..1f27cbcf4f5 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `dviwindo,pdfmarkbase') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdviwind.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for dviwindo] \Hy@VersionCheck{hdviwind.def} \begingroup diff --git a/Master/texmf-dist/tex/latex/hyperref/hluatex.def b/Master/texmf-dist/tex/latex/hyperref/hluatex.def index ea532b090e0..d88ef018b6c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hluatex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hluatex.def @@ -8,10 +8,10 @@ %% hluatex.dtx (with options: `luatex') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -34,10 +34,10 @@ %% %% File: hyperref.dtx \ProvidesFile{hluatex.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for luaTeX] \Hy@VersionCheck{hluatex.def} -%% 2023-05-16 v7.00y +%% 2023-06-25 v7.01a %% force unicode encoding, see issue #101 %% code mostly copied from hxetex.def \HyPsd@LoadUnicode diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def index 00d9ef589ed..8a376562a9f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `pdftex,pdfform,outlines') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hpdftex.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for pdfTeX] \Hy@VersionCheck{hpdftex.def} \pdf@ifdraftmode{% diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index d286f97097a..29f7f21523c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `tex4htcfg') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{htex4ht.cfg} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref configuration file for TeX4ht] \IfFileExists{\jobname.cfg}{\endinput}{} \Preamble{html} diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def index b4ba95be836..30f1341a94e 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `tex4ht') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{htex4ht.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for TeX4ht] \Hy@VersionCheck{htex4ht.def} \providecommand*{\XR@ext}{html} diff --git a/Master/texmf-dist/tex/latex/hyperref/htexture.def b/Master/texmf-dist/tex/latex/hyperref/htexture.def index 06d85df4b34..0620c855665 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htexture.def +++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `textures') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{htexture.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for Textures] \Hy@VersionCheck{htexture.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def index f7e7f30e2cb..b8133fc195d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `vtex,outlines') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hvtex.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for VTeX in PDF/PS mode] \Hy@VersionCheck{hvtex.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index 5bf941dbbf3..997e59c5d0a 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `vtexhtml') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hvtexhtml.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for VTeX in HTML mode] \Hy@VersionCheck{hvtexhtm.def} \providecommand*{\XR@ext}{htm} diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def index da708557b43..4d0c2eb09d8 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `vtexpdfmark') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hvtexmrk.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)] \Hy@VersionCheck{hvtexmrk.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def index 6c6ba04952a..4748c878d82 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `xetex,pdfform,outlines') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hxetex.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for XeTeX] \Hy@VersionCheck{hxetex.def} \HyPsd@LoadUnicode diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty index 6ad82258204..2510c6544db 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty @@ -7,10 +7,10 @@ %% hyperref-patches.dtx (with options: `package') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index 9ed825dc708..9cd838e8215 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -9,10 +9,10 @@ %% hyperref.dtx (with options: `packageEnd') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -36,7 +36,7 @@ %% File: hyperref.dtx \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{hyperref} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -6651,16 +6651,20 @@ } \ExplSyntaxOff \let\Hy@saved@refstepcounter\refstepcounter -\@ifpackageloaded{amsmath}{}{\newif\ifmeasuring@\measuring@false} +\newif\ifmeasuring@\measuring@false +\newcommand\Hy@ifnotmeasuring[1]{#1} +\AddToHook{package/amsmath/after} + { + \renewcommand\Hy@ifnotmeasuring[1] + {\ifmeasuring@ \else #1\fi} + } \def\hyper@refstepcounter#1{% \HyCnt@ProvideTheHCounter{#1}% \hyper@makecurrent{#1}% - \ifmeasuring@ - \else - \Hy@raisedlink{% + \Hy@ifnotmeasuring + {\Hy@raisedlink{% \hyper@anchorstart{\@currentHref}\hyper@anchorend - }% - \fi + }}% } \def\HyCnt@ProvideTheHCounter#1{% \@ifundefined{theH#1}{% @@ -6909,26 +6913,7 @@ \let\H@equation\equation \let\H@endequation\endequation \@ifundefined{hyper@nopatch@mathenv}{% - \@ifpackageloaded{amsmath}{% - \long\def\Hy@temp{% - \incr@eqnum - \mathdisplay@push - \st@rredfalse \global\@eqnswtrue - \mathdisplay{equation}% - }% - \ifx\Hy@temp\equation - \expandafter\ifx\csname if@fleqn\expandafter\endcsname - \csname iftrue\endcsname - \else - \long\def\equation{% - \mathdisplay@push - \st@rredfalse \global\@eqnswtrue - \mathdisplay{equation}% - \incr@eqnum - }% - \fi - \fi - }{% + \@ifpackageloaded{amsmath}{}{% \def\equation{% \let\refstepcounter\H@refstepcounter \H@equation @@ -7012,17 +6997,18 @@ }% \endgroup } -\ifcsname subequations\endcsname - \let\HyOrg@subequations\subequations - \def\subequations{% +\AddToHook{cmd/subequations/before} + {% \stepcounter{equation}% \protected@edef\theHparentequation{\theHequation}% \addtocounter{equation}{-1}% - \HyOrg@subequations - \def\theHequation{\theHparentequation\alph{equation}}% - \ignorespaces - }% -\fi + } + +\AddToHook{cmd/subequations/after} + {% + \def\theHequation{\theHparentequation\alph{equation}}% + \ignorespaces + } \newcommand\Hy@theorem@refstepcounter[1] {% \H@refstepcounter{#1}% @@ -7739,7 +7725,7 @@ }{} \@ifundefined{hyper@nopatch@amsmath@tag} {% - \@ifpackageloaded{amsmath}{% + \AddToHook{package/amsmath/after}{% \def\Hy@make@anchor{% \Hy@MakeCurrentHrefAuto{AMS}% \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% @@ -7777,7 +7763,7 @@ }{} \@ifundefined{hyper@nopatch@counter} { - \@ifpackageloaded{amsmath}{% + \AddToHook{package/amsmath/after}{% \renewcommand*{\numberwithin}[3][\arabic]{% \@ifundefined{c@#2}{\@nocounterr{#2}}{% \@ifundefined{c@#3}{\@nocnterr{#3}}{% diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index ac5e25ee862..35120ceb5db 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `hypertex') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hypertex.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref driver for HyperTeX specials] \Hy@VersionCheck{hypertex.def} \providecommand*{\XR@ext}{dvi} diff --git a/Master/texmf-dist/tex/latex/hyperref/nameref.sty b/Master/texmf-dist/tex/latex/hyperref/nameref.sty index 6895c99c68d..c2514fb994a 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nameref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nameref.sty @@ -7,10 +7,10 @@ %% nameref.dtx (with options: `package') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -58,7 +58,7 @@ %% given in the file `manifest.txt'. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{nameref} - [2023-05-16 v2.51 Cross-referencing by name of section]% + [2023-06-18 v2.52 Cross-referencing by name of section]% \RequirePackage{refcount}[2006/02/12] \RequirePackage{gettitlestring}[2009/12/18] \RequirePackage{ltxcmds}[2009/12/12] @@ -87,6 +87,21 @@ } \@ifl@t@r\fmtversion{2023-06-01} { + \def\NR@label@copy#1{\@bsphack + \begingroup + \UseHookWithArguments{label}{1}{#1}% + \protected@write\@auxout{}% + {\string\newlabel{#1}{{\@currentlabel}{\thepage}% + {\@currentlabelname}{\@currentHref}{\@kernel@reserved@label@data}}}% + \endgroup + \@esphack} + \ifx\label\NR@label@copy + \else + \PackageWarning{nameref}{The definition of \string\label\space has changed! + \MessageBreak Check your packages! + \MessageBreak Replacing it with the kernel definition} + \let\label\NR@label@copy + \fi \AddToHookWithArguments{label}{\def\label@name{#1}\label@hook} } { diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index e53d6facb2e..47992e71f9e 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `nohyperref') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -34,7 +34,7 @@ %% File: hyperref.dtx \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{nohyperref} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Dummy hyperref (SR)] \RequirePackage{letltxmacro}[2008/06/13] \let\hyper@@anchor\@gobble diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def index 9a2fc64c75d..58ee691d937 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def +++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `pd1enc') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{pd1enc.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref: PDFDocEncoding definition (HO)] \DeclareFontEncoding{PD1}{}{} \DeclareTextAccent{\`}{PD1}{\textasciigrave} diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def index e72c1357ca3..4cb6aaf0c98 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `pdfmark,pdfmarkbase,pdfform,outlines') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{pdfmark.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref definitions for pdfmark specials] \Hy@VersionCheck{pdfmark.def} \begingroup diff --git a/Master/texmf-dist/tex/latex/hyperref/psdextra.def b/Master/texmf-dist/tex/latex/hyperref/psdextra.def index 6493dd81f38..53c2630a15c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/psdextra.def +++ b/Master/texmf-dist/tex/latex/hyperref/psdextra.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `psdextra') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{psdextra.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref: Additions to PDF string support] \Hy@VersionCheck{psdextra.def} \DeclareTextCommand{\textGamma}{PU}{\83\223}%* U+0393 diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index f8afd8d7601..9577088e3e0 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `puarenc') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puarenc.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref: Additions to puenc.def for Arabi] \DeclareTextCommand{\hamza}{PU}{\86\041}% U+0621 \DeclareTextCommand{\alefmadda}{PU}{\86\042}% U+0622 diff --git a/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def b/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def index cad3a534934..1d7847c5ee0 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `puextra') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puenc-extra.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref: PDF Unicode extra definition (HO)] \DeclareTextCommand{\G}{PU}[1]{#1\83\017}% U+030F \DeclareTextCompositeCommand{\G}{PU}{\@empty}{\textdoublegrave}% diff --git a/Master/texmf-dist/tex/latex/hyperref/puenc.def b/Master/texmf-dist/tex/latex/hyperref/puenc.def index d11f66ca5b1..e164bcca3e2 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `puenc') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puenc.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref: PDF Unicode definition (HO)] \DeclareFontEncoding{PU}{}{} \DeclareTextCommand{\`}{PU}[1]{#1\83\000}% U+0300 diff --git a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def index f47512adddd..6c94f9cff82 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def @@ -7,10 +7,10 @@ %% hyperref.dtx (with options: `puvnenc') %% %% Copyright -%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, -%% 2001-2015 Heiko Oberdiek. +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek +%% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2022 LaTeX Project +%% 2019-2023 LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puvnenc.def} - [2023-05-16 v7.00y % + [2023-06-25 v7.01a % Hyperref: Additions to puenc.def for VnTeX] \DeclareTextCommand{\abreve}{PU}{\81\003}% U+0103 \DeclareTextCommand{\acircumflex}{PU}{\80\342}% U+00E2 diff --git a/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty b/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty index 6235a941b2b..d470b4bcf5a 100644 --- a/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty +++ b/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty @@ -57,7 +57,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xr-hyper} - [2023-05-16 v7.00y eXternal References (DPC)] + [2023-06-25 v7.01a eXternal References (DPC)] \def\externaldocument{\@testopt\XR@cite{}} \let\externalcitedocument\externaldocument -- cgit v1.2.3