From ca1d8bda0868015697b3b464a86275bd18d84ce3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 8 Feb 2023 20:58:58 +0000 Subject: hyperref (8feb23) git-svn-id: svn://tug.org/texlive/trunk@65758 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hyperref/backref.sty | 2 +- Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hdvips.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hdvipson.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hluatex.def | 4 +- Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 2 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg | 2 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.def | 2 +- Master/texmf-dist/tex/latex/hyperref/htexture.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hvtex.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hxetex.def | 2 +- .../tex/latex/hyperref/hyperref-patches.sty | 2 +- Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 465 +++++++++++---------- Master/texmf-dist/tex/latex/hyperref/hypertex.def | 2 +- .../tex/latex/hyperref/minitoc-hyper.sty | 2 +- Master/texmf-dist/tex/latex/hyperref/nameref.sty | 2 +- .../texmf-dist/tex/latex/hyperref/nohyperref.sty | 2 +- .../tex/latex/hyperref/ntheorem-hyper.sty | 2 +- Master/texmf-dist/tex/latex/hyperref/pd1enc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 2 +- Master/texmf-dist/tex/latex/hyperref/psdextra.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puarenc.def | 2 +- .../texmf-dist/tex/latex/hyperref/puenc-extra.def | 2 +- .../tex/latex/hyperref/puenc-greekbasic.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puenc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puvnenc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty | 4 +- 30 files changed, 266 insertions(+), 261 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/hyperref/backref.sty b/Master/texmf-dist/tex/latex/hyperref/backref.sty index 056cd1a910b..3d57fa1ac8b 100644 --- a/Master/texmf-dist/tex/latex/hyperref/backref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/backref.sty @@ -35,7 +35,7 @@ %% Copyright (C) 1995-2000 David Carlisle, Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek %% 2016-2019 Oberdiek Package Suport Group -%% 2019-2022 The LaTeX Project +%% 2019-2023 The 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 10603054e5e..038d312d78c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdvipdfm.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 04f76fbdf0e..ac32f72196d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdvips.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 82ad5841787..f9b0562afef 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdvipson.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 8a2264252b3..2c9e044ae64 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdviwind.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 1b87a3fdb39..af3db3f5ef8 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hluatex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hluatex.def @@ -34,10 +34,10 @@ %% %% File: hyperref.dtx \ProvidesFile{hluatex.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % Hyperref driver for luaTeX] \Hy@VersionCheck{hluatex.def} -%% 2022-11-13 v7.00u +%% 2023-02-07 v7.00v %% 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 143cbdb7740..74a153201e4 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hpdftex.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 12c57dc2e45..156d2fdff3c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{htex4ht.cfg} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 e767580fbe1..499bcee4048 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{htex4ht.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 482ba55e5a9..eb89f7658d8 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htexture.def +++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{htexture.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 8034b1da10a..e0219379d33 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hvtex.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 496ce5a2ea7..01700d115b0 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hvtexhtml.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 869c86df41d..7b7a0005f95 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hvtexmrk.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 dad6648f962..21b093c860c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hxetex.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 f22499332c0..6ad82258204 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty @@ -36,7 +36,7 @@ %% 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 9d1e49d8607..253cee64cc0 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -36,7 +36,7 @@ %% File: hyperref.dtx \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{hyperref} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -350,6 +350,21 @@ { \def\MakeUppercaseUnsupportedInPdfStrings#1{\use:e {\text_uppercase:n {#1}}} \def\MakeLowercaseUnsupportedInPdfStrings#1{\use:e {\text_lowercase:n {#1}}} + \AddToHook{package/babel/after} + { + \def\MakeUppercaseUnsupportedInPdfStrings#1 + {\use:e + {\exp_args:Ne + \text_uppercase:nn{\localeinfo*{tag.bcp47}}{#1} + } + } + \def\MakeLowercaseUnsupportedInPdfStrings#1 + {\use:e + {\exp_args:Ne + \text_lowercase:nn{\localeinfo*{tag.bcp47}}{#1} + } + } + } } \ExplSyntaxOff \def\pdfstringdef#1#2{% @@ -6629,13 +6644,6 @@ \let\Hy@saved@refstepcounter\refstepcounter \@ifpackageloaded{amsmath}{}{\newif\ifmeasuring@\measuring@false} \def\hyper@refstepcounter#1{% - \edef\This@name{#1}% - \ifx\This@name\name@of@eq - \@ifundefined{theHequation}{% - \make@stripped@name{\theequation}% - \let\theHequation\newname - }{}% - \fi \HyCnt@ProvideTheHCounter{#1}% \hyper@makecurrent{#1}% \ifmeasuring@ @@ -6889,78 +6897,74 @@ \let\new@refstepcounter\refstepcounter \let\H@equation\equation \let\H@endequation\endequation -\@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 - }% +\@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 - \fi -}{% - \def\equation{% - \let\refstepcounter\H@refstepcounter - \H@equation - \@ifundefined{theHequation}{% - \make@stripped@name{\theequation}% - \let\theHequation\newname - }{}% - \hyper@makecurrent{equation}% - \mathopen{% - \Hy@raisedlink{\hyper@anchorstart{\@currentHref}}% + }{% + \def\equation{% + \let\refstepcounter\H@refstepcounter + \H@equation + \hyper@makecurrent{equation}% + \mathopen{% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}}% + }% + \let\refstepcounter\new@refstepcounter }% - \let\refstepcounter\new@refstepcounter - }% - \def\endequation{% - \ifx\Hy@raisedlink\ltx@empty - \hyper@anchorend - \else - \mathclose{\Hy@raisedlink{\hyper@anchorend}}% - \fi - \H@endequation - }% -} + \def\endequation{% + \ifx\Hy@raisedlink\ltx@empty + \hyper@anchorend + \else + \mathclose{\Hy@raisedlink{\hyper@anchorend}}% + \fi + \H@endequation + }% + } +}{} \newif\if@eqnstar \@eqnstarfalse \let\H@eqnarray\eqnarray \let\H@endeqnarray\endeqnarray -\def\eqnarray{% - \let\Hy@reserved@a\relax - \def\@currentHref{}% - \H@eqnarray - \if@eqnstar - \else - \ifx\\\@currentHref\\% +\@ifundefined{hyper@nopatch@mathenv}{% + \def\eqnarray{% + \let\Hy@reserved@a\relax + \def\@currentHref{}% + \H@eqnarray + \if@eqnstar \else - \@ifundefined{theHequation}{% - \make@stripped@name{\theequation}% - \let\theHequation\newname - }{}% - \hyper@makecurrent{equation}% - \mathopen{% - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \ifx\\\@currentHref\\% + \else + \hyper@makecurrent{equation}% + \mathopen{% + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% }% - }% + \fi \fi - \fi -} -\def\endeqnarray{% - \H@endeqnarray -} + } + \def\endeqnarray{% + \H@endeqnarray + } +}{} \@namedef{eqnarray*}{% - \def\@eqncr{\nonumber\@seqncr}\@eqnstartrue\eqnarray + \protected\def\@eqncr{\nonumber\@seqncr}\@eqnstartrue\eqnarray } \@namedef{endeqnarray*}{% \nonumber\endeqnarray\@eqnstarfalse @@ -6971,10 +6975,6 @@ \def\subeqnarray{% \let\Hy@reserved@a\relax \H@subeqnarray - \@ifundefined{theHequation}{% - \make@stripped@name{\theequation}% - \let\theHequation\newname - }{}% \hyper@makecurrent{equation}% \hyper@anchorstart{\@currentHref}{}\hyper@anchorend }% @@ -7001,15 +7001,11 @@ }% \endgroup } -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname subequations\endcsname\relax -\else +\ifcsname subequations\endcsname \let\HyOrg@subequations\subequations \def\subequations{% \stepcounter{equation}% - \protected@edef\theHparentequation{% - \@ifundefined{theHequation}\theequation\theHequation - }% + \protected@edef\theHparentequation{\theHequation}% \addtocounter{equation}{-1}% \HyOrg@subequations \def\theHequation{\theHparentequation\alph{equation}}% @@ -7723,170 +7719,179 @@ \Hy@EveryPageAnchor } \providecommand\protected@file@percent{} -\def\addcontentsline#1#2#3{% toc extension, type, tag - \begingroup - \let\label\@gobble - \ifx\@currentHref\@empty - \Hy@Warning{% - No destination for bookmark of \string\addcontentsline,% - \MessageBreak destination is added% - }% - \phantomsection - \fi - \expandafter\ifx\csname toclevel@#2\endcsname\relax - \begingroup - \def\Hy@tempa{#1}% - \ifx\Hy@tempa\Hy@bookmarkstype - \Hy@WarningNoLine{% - bookmark level for unknown #2 defaults to 0% - }% - \else - \Hy@Info{bookmark level for unknown #2 defaults to 0}% - \fi - \endgroup - \expandafter\gdef\csname toclevel@#2\endcsname{0}% - \fi - \edef\Hy@toclevel{\csname toclevel@#2\endcsname}% - \Hy@writebookmark{\csname the#2\endcsname}% - {#3}% - {\@currentHref}% - {\Hy@toclevel}% - {#1}% - \ifHy@verbose - \begingroup - \def\Hy@tempa{#3}% - \@onelevel@sanitize\Hy@tempa - \let\temp@online\on@line - \let\on@line\@empty - \Hy@Info{% - bookmark\temp@online:\MessageBreak - thecounter {\csname the#2\endcsname}\MessageBreak - text {\Hy@tempa}\MessageBreak - reference {\@currentHref}\MessageBreak - toclevel {\Hy@toclevel}\MessageBreak - type {#1}% +\@ifundefined{hyper@nopatch@toc}{% + \def\addcontentsline#1#2#3{% toc extension, type, tag + \begingroup + \let\label\@gobble + \ifx\@currentHref\@empty + \Hy@Warning{% + No destination for bookmark of \string\addcontentsline,% + \MessageBreak destination is added% }% - \endgroup - \fi - \addtocontents{#1}{% - \protect\contentsline{#2}{#3}{\thepage}{\@currentHref}\protected@file@percent - }% - \endgroup -} + \phantomsection + \fi + \expandafter\ifx\csname toclevel@#2\endcsname\relax + \begingroup + \def\Hy@tempa{#1}% + \ifx\Hy@tempa\Hy@bookmarkstype + \Hy@WarningNoLine{% + bookmark level for unknown #2 defaults to 0% + }% + \else + \Hy@Info{bookmark level for unknown #2 defaults to 0}% + \fi + \endgroup + \expandafter\gdef\csname toclevel@#2\endcsname{0}% + \fi + \edef\Hy@toclevel{\csname toclevel@#2\endcsname}% + \Hy@writebookmark{\csname the#2\endcsname}% + {#3}% + {\@currentHref}% + {\Hy@toclevel}% + {#1}% + \ifHy@verbose + \begingroup + \def\Hy@tempa{#3}% + \@onelevel@sanitize\Hy@tempa + \let\temp@online\on@line + \let\on@line\@empty + \Hy@Info{% + bookmark\temp@online:\MessageBreak + thecounter {\csname the#2\endcsname}\MessageBreak + text {\Hy@tempa}\MessageBreak + reference {\@currentHref}\MessageBreak + toclevel {\Hy@toclevel}\MessageBreak + type {#1}% + }% + \endgroup + \fi + \addtocontents{#1}{% + \protect\contentsline{#2}{#3}{\thepage}{\@currentHref}\protected@file@percent + }% + \endgroup + } +}{} \protected\def\Hy@toclinkstart{\hyper@linkstart{link}{\Hy@tocdestname}} \protected\def\Hy@toclinkend{\hyper@linkend} -\def\contentsline#1#2#3#4{% - \begingroup - \Hy@safe@activestrue - \edef\x{\endgroup - \def\noexpand\Hy@tocdestname{#4}% - }\x - \ifx\Hy@tocdestname\ltx@empty - \csname l@#1\endcsname{#2}{#3}% - \else - \ifcase\Hy@linktoc % none +\@ifundefined{hyper@nopatch@toc}{% + \def\contentsline#1#2#3#4{% + \begingroup + \Hy@safe@activestrue + \edef\x{\endgroup + \def\noexpand\Hy@tocdestname{#4}% + }\x + \ifx\Hy@tocdestname\ltx@empty \csname l@#1\endcsname{#2}{#3}% - \or % section - \csname l@#1\endcsname{% - \Hy@toclinkstart{#2}\Hy@toclinkend - }{#3}% - \or % page - \def\Hy@temp{#3}% - \ifx\Hy@temp\ltx@empty + \else + \ifcase\Hy@linktoc % none \csname l@#1\endcsname{#2}{#3}% - \else - \csname l@#1\endcsname{{#2}}{% - \Hy@toclinkstart{#3}\Hy@toclinkend - }% - \fi - \else % all - \def\Hy@temp{#3}% - \ifx\Hy@temp\ltx@empty + \or % section \csname l@#1\endcsname{% \Hy@toclinkstart{#2}\Hy@toclinkend - }{}% - \else - \csname l@#1\endcsname{% - \Hy@toclinkstart{#2}\Hy@toclinkend - }{% - \Hy@toclinkstart{#3}\Hy@toclinkend - }% + }{#3}% + \or % page + \def\Hy@temp{#3}% + \ifx\Hy@temp\ltx@empty + \csname l@#1\endcsname{#2}{#3}% + \else + \csname l@#1\endcsname{{#2}}{% + \Hy@toclinkstart{#3}\Hy@toclinkend + }% + \fi + \else % all + \def\Hy@temp{#3}% + \ifx\Hy@temp\ltx@empty + \csname l@#1\endcsname{% + \Hy@toclinkstart{#2}\Hy@toclinkend + }{}% + \else + \csname l@#1\endcsname{% + \Hy@toclinkstart{#2}\Hy@toclinkend + }{% + \Hy@toclinkstart{#3}\Hy@toclinkend + }% + \fi \fi \fi - \fi -} -\let\H@definecounter\@definecounter -\def\@definecounter#1{% - \H@definecounter{#1}% - \expandafter\gdef\csname theH#1\endcsname{\arabic{#1}}% -} -\let\H@newctr\@newctr -\def\@newctr#1[#2]{% - \H@newctr#1[{#2}]% - \expandafter\gdef\csname theH#1\endcsname{% - \csname the\@ifundefined{theH#2}{}{H}#2\endcsname.\arabic{#1}% - }% -} -\@ifpackageloaded{amsmath}{% - \def\Hy@make@anchor{% - \Hy@MakeCurrentHrefAuto{AMS}% - \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% - }% - \def\Hy@make@df@tag@@#1{% - \gdef\df@tag{% - \maketag@@@{\Hy@make@anchor#1}% - \def\@currentlabel{#1}% - }% - }% - \def\Hy@make@df@tag@@@#1{% - \gdef\df@tag{% - \tagform@{\Hy@make@anchor#1}% - \toks@\@xp{\p@equation{#1}}% - \edef\@currentlabel{\the\toks@}% - }% - }% - \let\HyOrg@make@df@tag@@\make@df@tag@@ - \let\HyOrg@make@df@tag@@@\make@df@tag@@@ - \let\make@df@tag@@\Hy@make@df@tag@@ - \let\make@df@tag@@@\Hy@make@df@tag@@@ -}{} -\@ifpackagewith{hyperref}{pdftex}{% - \let\H@seteqlabel\@seteqlabel - \def\@seteqlabel#1{% - \H@seteqlabel{#1}% - \xdef\@currentHref{AMS.\the\Hy@linkcounter}% - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend - }% - }% + } }{} -\let\HyOrg@addtoreset\@addtoreset -\def\@addtoreset#1#2{% - \HyOrg@addtoreset{#1}{#2}% - \expandafter\xdef\csname theH#1\endcsname{% - \expandafter\noexpand - \csname the\@ifundefined{theH#2}{}H#2\endcsname - .\noexpand\the\noexpand\value{#1}% - }% -} -\@ifpackageloaded{amsmath}{% - \renewcommand*{\numberwithin}[3][\arabic]{% - \@ifundefined{c@#2}{\@nocounterr{#2}}{% - \@ifundefined{c@#3}{\@nocnterr{#3}}{% - \HyOrg@addtoreset{#2}{#3}% - \@xp\xdef\csname the#2\endcsname{% - \@xp\@nx\csname the#3\endcsname .\@nx#1{#2}% +\@ifundefined{hyper@nopatch@counter} + { + \let\H@definecounter\@definecounter + \def\@definecounter#1{% + \H@definecounter{#1}% + \expandafter\gdef\csname theH#1\endcsname{\arabic{#1}}% + } + }{} +\@ifundefined{hyper@nopatch@counter} + { + \let\H@newctr\@newctr + \def\@newctr#1[#2]{% + \H@newctr#1[{#2}]% + \expandafter\gdef\csname theH#1\endcsname{% + \csname the\@ifundefined{theH#2}{}{H}#2\endcsname.\arabic{#1}% + }% + } + }{} +\@ifundefined{hyper@nopatch@amsmath@tag} + {% + \@ifpackageloaded{amsmath}{% + \def\Hy@make@anchor{% + \Hy@MakeCurrentHrefAuto{AMS}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% + \def\Hy@make@df@tag@@#1{% + \gdef\df@tag{% + \maketag@@@{\Hy@make@anchor#1}% + \def\@currentlabel{#1}% }% - \@xp\xdef\csname theH#2\endcsname{% - \@xp\@nx - \csname the\@ifundefined{theH#3}{}H#3\endcsname - .\@nx#1{#2}% + }% + \def\Hy@make@df@tag@@@#1{% + \gdef\df@tag{% + \tagform@{\Hy@make@anchor#1}% + \toks@\@xp{\p@equation{#1}}% + \edef\@currentlabel{\the\toks@}% }% }% - }% - }% -}{} + \let\HyOrg@make@df@tag@@\make@df@tag@@ + \let\HyOrg@make@df@tag@@@\make@df@tag@@@ + \let\make@df@tag@@\Hy@make@df@tag@@ + \let\make@df@tag@@@\Hy@make@df@tag@@@ + }{} + }{} +\@ifundefined{hyper@nopatch@counter} + { + \let\HyOrg@addtoreset\@addtoreset + \def\@addtoreset#1#2{% + \HyOrg@addtoreset{#1}{#2}% + \expandafter\xdef\csname theH#1\endcsname{% + \expandafter\noexpand + \csname the\@ifundefined{theH#2}{}H#2\endcsname + .\noexpand\the\noexpand\value{#1}% + }% + } + }{} +\@ifundefined{hyper@nopatch@counter} + { + \@ifpackageloaded{amsmath}{% + \renewcommand*{\numberwithin}[3][\arabic]{% + \@ifundefined{c@#2}{\@nocounterr{#2}}{% + \@ifundefined{c@#3}{\@nocnterr{#3}}{% + \HyOrg@addtoreset{#2}{#3}% + \@xp\xdef\csname the#2\endcsname{% + \@xp\@nx\csname the#3\endcsname .\@nx#1{#2}% + }% + \@xp\xdef\csname theH#2\endcsname{% + \@xp\@nx + \csname the\@ifundefined{theH#3}{}H#3\endcsname + .\@nx#1{#2}% + }% + }% + }% + }% + }{} + }{} \ifHy@hyperfigures \let\Hy@Gin@setfile\Gin@setfile \def\Gin@setfile#1#2#3{% diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index fced9257dbd..5aaa52f6af7 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hypertex.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % Hyperref driver for HyperTeX specials] \Hy@VersionCheck{hypertex.def} \providecommand*{\XR@ext}{dvi} diff --git a/Master/texmf-dist/tex/latex/hyperref/minitoc-hyper.sty b/Master/texmf-dist/tex/latex/hyperref/minitoc-hyper.sty index 9efb3a3ebdc..548e08601cb 100644 --- a/Master/texmf-dist/tex/latex/hyperref/minitoc-hyper.sty +++ b/Master/texmf-dist/tex/latex/hyperref/minitoc-hyper.sty @@ -1,4 +1,4 @@ -% Copyright 2020 The LaTeX Project +% Copyright 2020-2023 The LaTeX Project % Licence LPPL: https://www.latex-project.org/lppl/lppl-1-3c.txt \ProvidesPackage{minitoc-hyper}[2020/01/14] \PackageWarningNoLine{minitoc-hyper}{% diff --git a/Master/texmf-dist/tex/latex/hyperref/nameref.sty b/Master/texmf-dist/tex/latex/hyperref/nameref.sty index 53f30196667..b61cf531232 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nameref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nameref.sty @@ -36,7 +36,7 @@ %% 2000 Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek %% 2016-2019 Oberdiek Package Suport Group -%% 2019-2022 The LaTeX Project +%% 2019-2023 The 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/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index f4d1aebfd12..7c5eed054ba 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty @@ -34,7 +34,7 @@ %% File: hyperref.dtx \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{nohyperref} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % Dummy hyperref (SR)] \RequirePackage{letltxmacro}[2008/06/13] \let\hyper@@anchor\@gobble diff --git a/Master/texmf-dist/tex/latex/hyperref/ntheorem-hyper.sty b/Master/texmf-dist/tex/latex/hyperref/ntheorem-hyper.sty index dcdd59167e0..9ec91e80d7a 100644 --- a/Master/texmf-dist/tex/latex/hyperref/ntheorem-hyper.sty +++ b/Master/texmf-dist/tex/latex/hyperref/ntheorem-hyper.sty @@ -1,4 +1,4 @@ -% Copyright 2021 The LaTeX Project +% Copyright 2021-2023 The LaTeX Project % Licence LPPL: https://www.latex-project.org/lppl/lppl-1-3c.txt \ProvidesPackage{ntheorem-hyper}[2021/02/07] \PackageWarningNoLine{ntheorem-hyper}{% diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def index 9b65ae7c371..c2598b2f6d3 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def +++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{pd1enc.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 cb52e50bd1e..194a1d67886 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{pdfmark.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 af3a268a7ea..06a4f949b3d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/psdextra.def +++ b/Master/texmf-dist/tex/latex/hyperref/psdextra.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{psdextra.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % Hyperref: Additions to PDF string support] \Hy@VersionCheck{psdextra.def} \newcommand*{\psdmapshortnames}{% diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index 5661fed0eab..62315e5477d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puarenc.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 3f4980fb41e..f513ddc6b5f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puenc-extra.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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-greekbasic.def b/Master/texmf-dist/tex/latex/hyperref/puenc-greekbasic.def index 4078ee2a0a1..f08e6125e8d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc-greekbasic.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc-greekbasic.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puenc-greekbasic.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % Hyperref: PDF Unicode definition (greek block) (HO)] \DeclareTextCommand{\textnumeralsigngreek}{PU}{\83\164}% U+0374 \DeclareTextCommand{\textdexiakeraia}{PU}{\83\164}% U+0374 diff --git a/Master/texmf-dist/tex/latex/hyperref/puenc.def b/Master/texmf-dist/tex/latex/hyperref/puenc.def index 34f516da889..27ab0c5b4db 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puenc.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 99e568649e8..3698915dadb 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puvnenc.def} - [2022-11-13 v7.00u % + [2023-02-07 v7.00v % 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 9bed6dae695..af4dcd646a5 100644 --- a/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty +++ b/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty @@ -1,6 +1,6 @@ %% xr-hyper package (beta release) -%% Copyright (C) 1993-2022 David Carlisle +%% Copyright (C) 1993-2023 David Carlisle %% This is a modified version of the xr package from the Standard LaTeX %% tools distribution. It has some internal changes to cooperate with @@ -61,7 +61,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xr-hyper} - [2022-11-13 v7.00u eXternal References (DPC)] + [2023-02-07 v7.00v eXternal References (DPC)] \def\externaldocument{\@testopt\XR@cite{}} \let\externalcitedocument\externaldocument -- cgit v1.2.3