From d3589ab6f2fce7147d841db1dac3287e93f11565 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 14 May 2022 20:32:17 +0000 Subject: hyperref (14may22) git-svn-id: svn://tug.org/texlive/trunk@63298 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hyperref/backref.sty | 27 +- Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 58 +-- Master/texmf-dist/tex/latex/hyperref/hdvips.def | 18 +- Master/texmf-dist/tex/latex/hyperref/hdvipson.def | 18 +- Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 18 +- Master/texmf-dist/tex/latex/hyperref/hluatex.def | 20 +- Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 68 +-- Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg | 18 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.def | 18 +- Master/texmf-dist/tex/latex/hyperref/htexture.def | 18 +- Master/texmf-dist/tex/latex/hyperref/hvtex.def | 58 +-- Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def | 18 +- Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def | 18 +- Master/texmf-dist/tex/latex/hyperref/hxetex.def | 58 +-- .../tex/latex/hyperref/hyperref-patches.sty | 27 +- Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 418 ++++++++++-------- Master/texmf-dist/tex/latex/hyperref/hypertex.def | 58 +-- Master/texmf-dist/tex/latex/hyperref/nameref.sty | 488 ++++++++++----------- .../texmf-dist/tex/latex/hyperref/nohyperref.sty | 40 +- Master/texmf-dist/tex/latex/hyperref/pd1enc.def | 18 +- Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 58 +-- Master/texmf-dist/tex/latex/hyperref/psdextra.def | 18 +- Master/texmf-dist/tex/latex/hyperref/puarenc.def | 18 +- .../texmf-dist/tex/latex/hyperref/puenc-extra.def | 18 +- .../tex/latex/hyperref/puenc-greekbasic.def | 18 +- Master/texmf-dist/tex/latex/hyperref/puenc.def | 18 +- Master/texmf-dist/tex/latex/hyperref/puvnenc.def | 18 +- Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty | 4 +- 28 files changed, 750 insertions(+), 902 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 9b55f35833b..056cd1a910b 100644 --- a/Master/texmf-dist/tex/latex/hyperref/backref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/backref.sty @@ -6,11 +6,36 @@ %% %% backref.dtx (with options: `package') %% +%% Copyright +%% 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 +%% https://github.com/latex3/hyperref/issues +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is the LaTeX Project. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% %% File: backref.dtx %% Copyright (C) 1995-2000 David Carlisle, Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek %% 2016-2019 Oberdiek Package Suport Group -%% 2019-2021 The LaTeX Project +%% 2019-2022 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 b4c5c978f2f..b780bb3d402 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `dvipdfm,pdfform,outlines') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hdvipdfm.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % Hyperref driver for dvipdfm] \Hy@VersionCheck{hdvipdfm.def} \special{pdf:majorversion \Hy@pdf@majorversion} @@ -1637,6 +1637,8 @@ \hss }% } +\@ifundefined{hyper@nopatch@sectioning} +{ \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% \Hy@MakeCurrentHrefAuto{section*}% @@ -1722,6 +1724,7 @@ \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% } +}{} \expandafter\def\csname Parent-4\endcsname{} \expandafter\def\csname Parent-3\endcsname{} \expandafter\def\csname Parent-2\endcsname{} @@ -1731,43 +1734,6 @@ \expandafter\def\csname Parent2\endcsname{} \expandafter\def\csname Parent3\endcsname{} \expandafter\def\csname Parent4\endcsname{} -\def\Hy@tempa{% - \def\@addchap[##1]##2{% - \typeout{##2}% - \if@twoside - \@mkboth{##1}{}% - \else - \@mkboth{}{##1}% - \fi - \addtocontents{lof}{\protect\addvspace{10\p@}}% - \addtocontents{lot}{\protect\addvspace{10\p@}}% - \Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend - }% - \if@twocolumn - \@topnewpage[\@makeschapterhead{##2}]% - \else - \@makeschapterhead{##2}% - \@afterheading - \fi - \addcontentsline{toc}{chapter}{##1}% - }% -} -\@ifclassloaded{scrbook}{% - \@ifclasslater{scrbook}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% -}{% - \@ifclassloaded{scrreprt}{% - \@ifclasslater{scrreprt}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% - }{% - \let\Hy@tempa\@empty - }% -}% -\Hy@tempa \endinput %% %% End of file `hdvipdfm.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index 483c46d0a7d..923a8747906 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `dvips') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hdvips.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 a4b010d9e2f..8e1766eb435 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `dvipsone') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hdvipson.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 6e22c473078..294b7fbf9cd 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `dviwindo,pdfmarkbase') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hdviwind.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 093571a7475..c1e7afb9e59 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hluatex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hluatex.def @@ -7,17 +7,16 @@ %% hyperref.dtx (with options: `luatex') %% hluatex.dtx (with options: `luatex') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -25,19 +24,20 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hluatex.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % Hyperref driver for luaTeX] \Hy@VersionCheck{hluatex.def} -%% 2022-02-21 v7.00n +%% 2022-05-13 v7.00o %% 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 bf57e9f6521..52fd2c0c559 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `pdftex,pdfform,outlines') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hpdftex.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % Hyperref driver for pdfTeX] \Hy@VersionCheck{hpdftex.def} \pdf@ifdraftmode{% @@ -318,15 +318,7 @@ \expandafter\endgroup \expandafter\pdflinkmargin\the\dimen@\relax } -\ifx\pdfstartlink\@undefined% less than version 14 - \let\pdfstartlink\pdfannotlink - \let\pdflinkmargin\@tempdima - \let\pdfxform\pdfform - \let\pdflastxform\pdflastform - \let\pdfrefxform\pdfrefform -\else - \pdflinkmargin1pt % -\fi +\pdflinkmargin1pt % \providecommand*\@pdfview{XYZ} \Hy@WrapperDef\new@pdflink#1{% \ifhmode @@ -1845,6 +1837,8 @@ \hss }% } +\@ifundefined{hyper@nopatch@sectioning} +{ \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% \Hy@MakeCurrentHrefAuto{section*}% @@ -1930,6 +1924,7 @@ \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% } +}{} \expandafter\def\csname Parent-4\endcsname{} \expandafter\def\csname Parent-3\endcsname{} \expandafter\def\csname Parent-2\endcsname{} @@ -1939,43 +1934,6 @@ \expandafter\def\csname Parent2\endcsname{} \expandafter\def\csname Parent3\endcsname{} \expandafter\def\csname Parent4\endcsname{} -\def\Hy@tempa{% - \def\@addchap[##1]##2{% - \typeout{##2}% - \if@twoside - \@mkboth{##1}{}% - \else - \@mkboth{}{##1}% - \fi - \addtocontents{lof}{\protect\addvspace{10\p@}}% - \addtocontents{lot}{\protect\addvspace{10\p@}}% - \Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend - }% - \if@twocolumn - \@topnewpage[\@makeschapterhead{##2}]% - \else - \@makeschapterhead{##2}% - \@afterheading - \fi - \addcontentsline{toc}{chapter}{##1}% - }% -} -\@ifclassloaded{scrbook}{% - \@ifclasslater{scrbook}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% -}{% - \@ifclassloaded{scrreprt}{% - \@ifclasslater{scrreprt}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% - }{% - \let\Hy@tempa\@empty - }% -}% -\Hy@tempa \endinput %% %% End of file `hpdftex.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index 49d2dcedd7b..7367dc5759c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `tex4htcfg') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{htex4ht.cfg} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 062f8f8f48c..ceb19ba9c07 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `tex4ht') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{htex4ht.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 764da59b386..275d5b30480 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htexture.def +++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `textures') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{htexture.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 0df5fd3fcff..573a2139d10 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `vtex,outlines') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hvtex.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % Hyperref driver for VTeX in PDF/PS mode] \Hy@VersionCheck{hvtex.def} \providecommand*{\XR@ext}{pdf} @@ -911,6 +911,8 @@ \hss }% } +\@ifundefined{hyper@nopatch@sectioning} +{ \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% \Hy@MakeCurrentHrefAuto{section*}% @@ -996,6 +998,7 @@ \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% } +}{} \expandafter\def\csname Parent-4\endcsname{} \expandafter\def\csname Parent-3\endcsname{} \expandafter\def\csname Parent-2\endcsname{} @@ -1005,43 +1008,6 @@ \expandafter\def\csname Parent2\endcsname{} \expandafter\def\csname Parent3\endcsname{} \expandafter\def\csname Parent4\endcsname{} -\def\Hy@tempa{% - \def\@addchap[##1]##2{% - \typeout{##2}% - \if@twoside - \@mkboth{##1}{}% - \else - \@mkboth{}{##1}% - \fi - \addtocontents{lof}{\protect\addvspace{10\p@}}% - \addtocontents{lot}{\protect\addvspace{10\p@}}% - \Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend - }% - \if@twocolumn - \@topnewpage[\@makeschapterhead{##2}]% - \else - \@makeschapterhead{##2}% - \@afterheading - \fi - \addcontentsline{toc}{chapter}{##1}% - }% -} -\@ifclassloaded{scrbook}{% - \@ifclasslater{scrbook}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% -}{% - \@ifclassloaded{scrreprt}{% - \@ifclasslater{scrreprt}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% - }{% - \let\Hy@tempa\@empty - }% -}% -\Hy@tempa \endinput %% %% End of file `hvtex.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index 661cae61b99..51460bddf4c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `vtexhtml') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hvtexhtml.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 8b84ff5a32a..cdef8233b94 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `vtexpdfmark') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hvtexmrk.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 89953deff54..89f7831c718 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `xetex,pdfform,outlines') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hxetex.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % Hyperref driver for XeTeX] \Hy@VersionCheck{hxetex.def} \HyPsd@LoadUnicode @@ -1704,6 +1704,8 @@ \hss }% } +\@ifundefined{hyper@nopatch@sectioning} +{ \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% \Hy@MakeCurrentHrefAuto{section*}% @@ -1789,6 +1791,7 @@ \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% } +}{} \expandafter\def\csname Parent-4\endcsname{} \expandafter\def\csname Parent-3\endcsname{} \expandafter\def\csname Parent-2\endcsname{} @@ -1798,43 +1801,6 @@ \expandafter\def\csname Parent2\endcsname{} \expandafter\def\csname Parent3\endcsname{} \expandafter\def\csname Parent4\endcsname{} -\def\Hy@tempa{% - \def\@addchap[##1]##2{% - \typeout{##2}% - \if@twoside - \@mkboth{##1}{}% - \else - \@mkboth{}{##1}% - \fi - \addtocontents{lof}{\protect\addvspace{10\p@}}% - \addtocontents{lot}{\protect\addvspace{10\p@}}% - \Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend - }% - \if@twocolumn - \@topnewpage[\@makeschapterhead{##2}]% - \else - \@makeschapterhead{##2}% - \@afterheading - \fi - \addcontentsline{toc}{chapter}{##1}% - }% -} -\@ifclassloaded{scrbook}{% - \@ifclasslater{scrbook}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% -}{% - \@ifclassloaded{scrreprt}{% - \@ifclasslater{scrreprt}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% - }{% - \let\Hy@tempa\@empty - }% -}% -\Hy@tempa \endinput %% %% End of file `hxetex.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty index 0e4ff5edaf3..f22499332c0 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty @@ -6,12 +6,37 @@ %% %% hyperref-patches.dtx (with options: `package') %% +%% Copyright +%% 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 +%% https://github.com/latex3/hyperref/issues +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is the LaTeX Project. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% %% File: hyperref-patches.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 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 2eb6ceb474c..f4dd17d933a 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -5,18 +5,19 @@ %% The original source files were: %% %% hyperref.dtx (with options: `package') +%% hyperref-linktarget.dtx (with options: `package,package-include') +%% hyperref.dtx (with options: `packageEnd') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,17 +25,18 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% -\NeedsTeXFormat{LaTeX2e}[1995/12/01] +%% +%% File: hyperref.dtx +\NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{hyperref} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -343,6 +345,13 @@ \strip@pt\dimexpr 0.99626401\dimexpr(#1)\relax\relax }% \def\hypercalcbpdef{\def}% +\ExplSyntaxOn +\@ifundefined{text_uppercase:n}{} + { + \def\MakeUppercaseUnsupportedInPdfStrings#1{\use:e {\text_uppercase:n {#1}}} + \def\MakeLowercaseUnsupportedInPdfStrings#1{\use:e {\text_lowercase:n {#1}}} + } +\ExplSyntaxOff \def\pdfstringdef#1#2{% \begingroup \escapechar`\\% @@ -2030,9 +2039,6 @@ \@namedef{HyPsd@ding@214}{\textleftrightarrow}% \@namedef{HyPsd@ding@215}{\textupdownarrow}% \@namedef{HyPsd@ding@240}{\HyPsd@UnicodeReplacementCharacter} -\@ifclassloaded{memoir}{% - \Hy@AtEndOfPackage{\RequirePackage{memhfixc}}% -}{} \@ifpackageloaded{subfigure}{% \ltx@IfUndefined{sub@label}{% \Hy@hypertexnamesfalse @@ -2061,10 +2067,6 @@ \fi \@esphack }% - \@ifpackagelater{subfigure}{2002/03/26}{}{% - \providecommand*{\toclevel@subfigure}{1}% - \providecommand*{\toclevel@subtable}{1}% - }% }% }{} \ltx@IfUndefined{XR@addURL}{% @@ -2373,6 +2375,9 @@ \let\Hy@setbreaklinks\@gobble } \define@key{Hyp}{localanchorname}[true]{% + \Hy@WarningNoLine{% + Option `localanchorname' is deprecated% + }% \Hy@boolkey{localanchorname}{#1}% } \define@key{Hyp}{pageanchor}[true]{% @@ -4486,23 +4491,6 @@ \Hy@DisableOption{colorlinks}% \Hy@DisableOption{frenchlinks}% \ifHy@texht - \long\def\@firstoffive#1#2#3#4#5{#1}% - \long\def\@secondoffive#1#2#3#4#5{#2}% - \long\def\@thirdoffive#1#2#3#4#5{#3}% - \long\def\@fourthoffive#1#2#3#4#5{#4}% - \long\def\@fifthoffive#1#2#3#4#5{#5}% - \providecommand*\@safe@activestrue{}% - \providecommand*\@safe@activesfalse{}% - \def\T@ref#1{% - \Hy@safe@activestrue - \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}% - \Hy@safe@activesfalse - }% - \def\T@pageref#1{% - \Hy@safe@activestrue - \expandafter\@setref\csname r@#1\endcsname\@secondoffive{#1}% - \Hy@safe@activesfalse - }% \else \ifHy@typexml \else @@ -4510,25 +4498,30 @@ \RequirePackage{nameref}[2012/07/28]% }% \fi + \ifHy@implicit + \let \T@Ref\HyRef@Ref + \def\@refstar#1{% + \NR@ref@showkeys{#1}% + \HyRef@StarSetRef{#1}\@firstoffive + } + \def\@pagerefstar#1{% + \NR@ref@showkeys{#1}% + \HyRef@StarSetRef{#1}\@secondoffive + } + \def\@namerefstar#1{% + \NR@ref@showkeys{#1}% + \HyRef@StarSetRef{#1}\@thirdoffive + } + \def\@Refstar#1{% + \NR@ref@showkeys{#1}% + \HyRef@StarSetRef{#1}\HyRef@MakeUppercaseFirstOfFive + }% + \else + \fi \fi - \DeclareRobustCommand\ref{% - \@ifstar\@refstar\T@ref - }% - \DeclareRobustCommand\pageref{% - \@ifstar\@pagerefstar\T@pageref - }% - \DeclareRobustCommand*{\nameref}{% - \@ifstar\@namerefstar\T@nameref - }% - \ifHy@implicit - \else - \let \@pagerefstar\T@pageref - \let \@refstar\T@ref - \let \@namerefstar\T@nameref - \fi } \Hy@AtBeginDocument{% - \ifHy@texht + \ifx\ReadBookmarks\relax \else \Hy@CatcodeWrapper\ReadBookmarks \fi @@ -6093,14 +6086,15 @@ \Hy@pdfstringfalse } -\LetLtxMacro\NoHy@OrgRef\ref -\DeclareRobustCommand*{\ref}{% +\@ifundefined{@kernel@ref} + {\LetLtxMacro\NoHy@OrgRef\ref + \DeclareRobustCommand*{\ref}{% \@ifstar\NoHy@OrgRef\NoHy@OrgRef -} -\LetLtxMacro\NoHy@OrgPageRef\pageref -\DeclareRobustCommand*{\pageref}{% + } + \LetLtxMacro\NoHy@OrgPageRef\pageref + \DeclareRobustCommand*{\pageref}{% \@ifstar\NoHy@OrgPageRef\NoHy@OrgPageRef -} + }}{} \def\NoHyper{% \def\hyper@link@[##1]##2##3##4{##4\Hy@xspace@end}% \def\hyper@@anchor##1##2{##2\Hy@xspace@end}% @@ -6143,11 +6137,6 @@ \string\AtBeginDocument}^^J% \string\HyperFirstAtBeginDocument{% \string\ifx\string\hyper@anchor\string\@undefined^^J% - \string\global\string\let\string\oldcontentsline\string\contentsline^^J% - \string\gdef\string\contentsline% - \string#1\string#2\string#3\string#4{% - \string\oldcontentsline% - {\string#1}{\string#2}{\string#3}}^^J% \string\global\string\let\string\oldnewlabel\string\newlabel^^J% \string\gdef\string\newlabel\string#1\string#2{% \string\newlabelxx{\string#1}\string#2}^^J% @@ -6156,7 +6145,6 @@ \string\oldnewlabel{\string#1}{{\string#2}{\string#3}}}^^J% \string\AtEndDocument{% \string\ifx\string\hyper@anchor\string\@undefined^^J% - \string\let\string\contentsline\string\oldcontentsline^^J% \string\let\string\newlabel\string\oldnewlabel^^J% \string\fi% }^^J% @@ -6168,22 +6156,6 @@ \fi \let\HyperFirstAtBeginDocument\ltx@firstofone \ifx\hyper@last\@undefined - \def\@starttoc#1{% - \begingroup - \makeatletter - \ltx@ifpackageloaded{parskip}{\parskip\z@}{}% - \IfFileExists{\jobname.#1}{% - \Hy@WarningNoLine{% - old #1 file detected, not used; run LaTeX again% - }% - }{}% - \if@filesw - \expandafter\newwrite\csname tf@#1\endcsname - \immediate\openout\csname tf@#1\endcsname \jobname.#1\relax - \fi - \@nobreakfalse - \endgroup - }% \def\newlabel#1#2{\@newl@bel r{#1}{#2{}{}{}{}}}% \fi } @@ -6451,6 +6423,120 @@ \g@addto@macro\Hy@EveryPageHook{\HyPL@EveryPage}% \fi \Hy@DisableOption{pdfpagelabels} +%% File: hyperref-linktarget.dtx +\ExplSyntaxOn +\bool_new:N \l__hyp_target_create_bool +\bool_set_true:N \l__hyp_target_create_bool +\hook_new:n {makelinktarget} +\cs_new_protected:Npn \__hyp_target_raise:n #1 + { + \mode_if_vertical:TF + { #1 } + { + \Hy@SaveSpaceFactor + \penalty\@M + \smash + { + \box_move_up:nn + { \normalbaselineskip } + { + \hbox:n + { + \Hy@RestoreSpaceFactor + #1 + \Hy@SaveSpaceFactor + } + } + } + \Hy@RestoreSpaceFactor + } + } +\ProvideDocumentCommand\LinkTargetOn{}{} +\ProvideDocumentCommand\LinkTargetOff{}{} +\ProvideDocumentCommand\MakeLinkTarget{sO{}m}{} +\ProvideDocumentCommand\NextLinkTarget{m}{} +\RenewDocumentCommand\LinkTargetOn {} + { + \bool_set_true:N \l__hyp_target_create_bool + } + +\RenewDocumentCommand\LinkTargetOff {} + { + \bool_set_false:N \l__hyp_target_create_bool + } +\RenewDocumentCommand\MakeLinkTarget {s O{} m} + { + \bool_if:NT \l__hyp_target_create_bool + { + \group_begin: + \hook_use:n { makelinktarget } + \IfBooleanTF {#1} + { + \__hyp_target_manual:nn {#2}{#3} + } + { + \__hyp_target_counter:nn {#2}{#3} + } + \group_end: + } + } +\cs_new_protected:Npn \__hyp_target_manual:nn #1 #2 %#1 prefix, #2 name + { + \tl_gset:Nx \@currentHref {#2} + \hook_use:n {__hyp/target/setname} + \@onelevel@sanitize\@currentHref + \__hyp_target_raise:n {\hyper@anchorstart{\@currentHref}\hyper@anchorend} + } +\cs_new_protected:Npn \__hyp_target_counter:nn #1 #2 %#1 prefix, #2 counter or empty + { + \tl_if_blank:nTF {#2} + { + \__hyp_target_counter_anon:n {#1} + } + { + \__hyp_target_counter_doc:nn {#1}{#2} + } + } + +\cs_new_protected:Npn \__hyp_target_counter_anon:n #1 + { + \int_gincr:N\Hy@linkcounter + \tl_gset:Nx \@currentHref + {\tl_if_blank:nTF{#1}{page}{#1}*.\int_use:N\Hy@linkcounter} + \hook_use:n {__hyp/target/setname} + \@onelevel@sanitize\@currentHref + \__hyp_target_raise:n {\hyper@anchorstart{\@currentHref}\hyper@anchorend} + } + +\cs_new_protected:Npn \__hyp_target_counter_doc:nn #1 #2 + { + \bool_lazy_and:nnTF { \cs_if_free_p:c {c@#2} } { \cs_if_free_p:c {theH#2} } + { + \PackageWarning {hyperref}{Counter~'#2'~or~the~representation~'\string\theH#2`\MessageBreak + don't~exist.~No~target~created.}{} + } + { + \tl_gset:Nx \@currentHref {\tl_if_blank:nTF{#1}{#2}{#1}.\use:c{theH#2}} + \hook_use:n {__hyp/target/setname} + \@onelevel@sanitize\@currentHref + \__hyp_target_raise:n {\hyper@anchorstart{\@currentHref}\hyper@anchorend} + } + } +\RenewDocumentCommand\NextLinkTarget {m} + { + \hook_gput_next_code:nn {__hyp/target/setname} + { + \tl_gset:Nx \@currentHref {#1} + } + } + +\NewDocumentCommand\SetLinkTargetFilter {m} + { + \cs_set:Npn \HyperDestNameFilter ##1 {#1} + } +\@onlypreamble \SetLinkTargetFilter +\ExplSyntaxOff +%% File: hyperref.dtx \ifx\MaybeStopEarly\relax \else \Hy@stoppedearlytrue @@ -6473,6 +6559,7 @@ \Hy@CounterExists{section}{% \providecommand\theHequation{\theHsection.\arabic{equation}}% } +\providecommand\theHequation{\arabic{equation}}% \Hy@CounterExists{part}{% \providecommand\theHpart{\arabic{part}}% } @@ -6511,31 +6598,32 @@ }{} \let\H@refstepcounter\refstepcounter \edef\name@of@eq{equation}% -\edef\name@of@slide{slide}% \newif\if@hyper@item \newif\if@skiphyperref \@hyper@itemfalse \@skiphyperreffalse +\ExplSyntaxOn \def\refstepcounter#1{% - \ifHy@pdfstring - \else + \legacy_if:nF {Hy@pdfstring} + { \H@refstepcounter{#1}% - \edef\This@name{#1}% - \ifx\This@name\name@of@slide - \else - \if@skiphyperref - \else - \if@hyper@item - \stepcounter{Item}% - \hyper@refstepcounter{Item}% - \@hyper@itemfalse - \else - \hyper@refstepcounter{#1}% - \fi - \fi - \fi - \fi + \bool_lazy_and:nnT + { \l__hyp_target_create_bool } + { ! \legacy_if_p:n{@skiphyperref} } + { + \legacy_if:nTF {@hyper@item} + { + \stepcounter{Item}% + \hyper@refstepcounter{Item}% + \@hyper@itemfalse + } + { + \hyper@refstepcounter{#1}% + } + } + } } +\ExplSyntaxOff \let\Hy@saved@refstepcounter\refstepcounter \@ifpackageloaded{amsmath}{}{\newif\ifmeasuring@\measuring@false} \def\hyper@refstepcounter#1{% @@ -6647,19 +6735,11 @@ \@ctrerr \fi } -\@ifl@t@r\fmtversion{2020-10-01} - {% - \NewHook{__hyp/dest/make } - \def\hyper@hook@dest@make - {\UseHook{__hyp/dest/make}} - \define@key{Hyp}{next-anchor}{% - \AddToHookNext{__hyp/dest/make}% +\NewHook{__hyp/target/setname } +\define@key{Hyp}{next-anchor}{% + \AddToHookNext{__hyp/target/setname}% {\Hy@MakeCurrentHref{#1}}% } - } - { - \def\hyper@hook@dest@make{} - } \def\hyper@makecurrent#1{% \begingroup \Hy@safe@activestrue @@ -6705,7 +6785,7 @@ \else \global\let\@currentHref\HyperGlobalCurrentHref \fi - \hyper@hook@dest@make + \UseHook{__hyp/target/setname}% } \def\Hy@MakeCurrentHref#1{% \edef\HyperLocalCurrentHref{#1}% @@ -6721,7 +6801,7 @@ \def\Hy@MakeCurrentHrefAuto#1{% \Hy@GlobalStepCount\Hy@linkcounter \Hy@MakeCurrentHref{#1.\the\Hy@linkcounter}% - \hyper@hook@dest@make} + \UseHook{__hyp/target/setname}} \def\@currentHlabel{\@currentHref} \def\hypergetref#1{\getrefbykeydefault{#1}{}{??}} \def\hypergetpageref#1{\getrefbykeydefault{#1}{page}{0}} @@ -6758,17 +6838,21 @@ \let\Hy@raisedlink\ttl@b }% }{} -\AtBeginDocument{% -\def\Hy@varioref@undefined{{??}{??}{}{}{}} -\@ifpackageloaded{varioref}{% - \def\vref@pagenum#1#2{% - \@ifundefined{r@#2}{% - \expandafter\let\csname r@#2\endcsname\Hy@varioref@undefined - }{}% - \edef#1{\getpagerefnumber{#2}}% - }% -}{} -} +\@ifl@t@r\fmtversion{2021-11-15} + {}% + { + \AtBeginDocument{% + \def\Hy@varioref@undefined{{??}{??}{}{}{}} + \@ifpackageloaded{varioref}{% + \def\vref@pagenum#1#2{% + \@ifundefined{r@#2}{% + \expandafter\let\csname r@#2\endcsname\Hy@varioref@undefined + }{}% + \edef#1{\getpagerefnumber{#2}}% + }% + }{} + } + } \@ifpackageloaded{longtable}{% \begingroup \def\y{\LT@array}% @@ -7062,6 +7146,7 @@ }% }% } +\@ifundefined{hyper@nopatch@footnote}{% \ifHy@hyperfootnotes \newcounter{Hfootnote}% \let\H@@footnotetext\@footnotetext @@ -7263,13 +7348,14 @@ \fi }% \def\realfootnote{% - \@ifnextchar[\@xfootnote{% - \stepcounter{\@mpfn}% + \@ifnextchar[\@xfootnote%] + {\stepcounter{\@mpfn}% \protected@xdef\@thefnmark{\thempfn}% \H@@footnotemark\H@@footnotetext }% }% \fi +}{} \Hy@DisableOption{hyperfootnotes} \def\caption{% \ifx\@captype\@undefined @@ -7780,28 +7866,20 @@ }% } \@ifpackageloaded{amsmath}{% - \@ifpackagelater{amsmath}{1999/12/14}{% - \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}% - }% + \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}% }% }% }% - }{% - \Hy@WarningNoLine{% - \string\numberwithin\space of package `amsmath' % - only fixed\MessageBreak - for version 2000/06/06 v2.12 or newer% - }% }% }{} \ifHy@hyperfigures @@ -8053,22 +8131,19 @@ \def\@namerefstar#1{% \HyRef@StarSetRef{#1}\@thirdoffive } - +\def\@Refstar#1{% + \HyRef@StarSetRef{#1}\HyRef@MakeUppercaseFirstOfFive +}% +\def\HyRef@MakeUppercaseFirstOfFive#1#2#3#4#5{% + \MakeUppercase#1% +}% +\def\HyRef@Ref#1{% + \hyperref[{#1}]{\Ref*{#1}}% +}% \Hy@AtBeginDocument{% \@ifpackageloaded{varioref}{% - \def\@Refstar#1{% - \HyRef@StarSetRef{#1}\HyRef@MakeUppercaseFirstOfFive - }% - \def\HyRef@MakeUppercaseFirstOfFive#1#2#3#4#5{% - \MakeUppercase#1% - }% - \DeclareRobustCommand*{\Ref}{% - \@ifstar\@Refstar\HyRef@Ref - }% - \def\HyRef@Ref#1{% - \hyperref[{#1}]{\Ref*{#1}}% - }% - \ifdefined\vp@gerefstar + \@ifundefined{hyper@nopatch@varioref} + { \renewcommand\Vref@star[2][]{% \begingroup \let\T@pageref\@pagerefstar @@ -8101,29 +8176,9 @@ \vpageref[#1]{#2}% \endgroup }% - \else - \def\Vr@f#1{% - \leavevmode\unskip\vref@space - \hyperref[{#1}]{% - \Ref*{#1}% - \let\vref@space\nobreakspace - \@vpageref[\unskip]{#1}% - }% - }% - \def\vr@f#1{% - \leavevmode\unskip\vref@space - \begingroup - \let\T@pageref\@pagerefstar - \hyperref[{#1}]{% - \ref*{#1}% - \vpageref[\unskip]{#1}% - }% - \endgroup - }% - \fi + }{}% }{}% } - \DeclareRobustCommand*{\autopageref}{% \@ifstar{% \HyRef@autopagerefname\pageref*% @@ -8143,10 +8198,9 @@ \pageautorefname\nobreakspace }% } -\DeclareRobustCommand*{\autoref}{% - \leavevmode - \@ifstar{\HyRef@autoref\@gobbletwo}{\HyRef@autoref\hyper@@link}% -} +\NewDocumentCommand\autoref{s} + {\leavevmode + \IfBooleanTF{#1}{\HyRef@autoref\@gobbletwo}{\HyRef@autoref\hyper@@link}} \def\HyRef@autoref#1#2{% \begingroup \Hy@safe@activestrue @@ -8224,9 +8278,7 @@ \def\HyRef@currentHtag{} \let\HyRef@ShowKeysRef\@gobble \def\HyRef@ShowKeysInit{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname SK@@label\endcsname\relax - \else + \ifcsname SK@@label\endcsname \ifx\SK@ref\@empty \else \def\HyRef@ShowKeysRef{% diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index 547c02782c5..f8cb3aabbaa 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `hypertex') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{hypertex.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % Hyperref driver for HyperTeX specials] \Hy@VersionCheck{hypertex.def} \providecommand*{\XR@ext}{dvi} @@ -178,6 +178,8 @@ \hss }% } +\@ifundefined{hyper@nopatch@sectioning} +{ \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% \Hy@MakeCurrentHrefAuto{section*}% @@ -263,43 +265,7 @@ \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% } -\def\Hy@tempa{% - \def\@addchap[##1]##2{% - \typeout{##2}% - \if@twoside - \@mkboth{##1}{}% - \else - \@mkboth{}{##1}% - \fi - \addtocontents{lof}{\protect\addvspace{10\p@}}% - \addtocontents{lot}{\protect\addvspace{10\p@}}% - \Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend - }% - \if@twocolumn - \@topnewpage[\@makeschapterhead{##2}]% - \else - \@makeschapterhead{##2}% - \@afterheading - \fi - \addcontentsline{toc}{chapter}{##1}% - }% -} -\@ifclassloaded{scrbook}{% - \@ifclasslater{scrbook}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% -}{% - \@ifclassloaded{scrreprt}{% - \@ifclasslater{scrreprt}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% - }{% - \let\Hy@tempa\@empty - }% -}% -\Hy@tempa +}{} \endinput %% %% End of file `hypertex.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/nameref.sty b/Master/texmf-dist/tex/latex/hyperref/nameref.sty index 4785e73701b..2d4eb7fd7f9 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nameref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nameref.sty @@ -6,12 +6,37 @@ %% %% nameref.dtx (with options: `package') %% +%% Copyright +%% 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 +%% https://github.com/latex3/hyperref/issues +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is the LaTeX Project. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% %% File: nameref.dtx %% Copyright (C) 1995-1999 Sebastian Rahtz %% 2000 Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek %% 2016-2019 Oberdiek Package Suport Group -%% 2019-2021 The LaTeX Project +%% 2019-2022 The LaTeX Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +58,7 @@ %% given in the file `manifest.txt'. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{nameref} - [2021-04-02 v2.47 Cross-referencing by name of section]% + [2022-05-13 v2.48 Cross-referencing by name of section]% \RequirePackage{refcount}[2006/02/12] \RequirePackage{gettitlestring}[2009/12/18] \RequirePackage{ltxcmds}[2009/12/12] @@ -139,145 +164,161 @@ } \let\NR@sect\@sect \newcounter{section@level} -\def\@sect#1#2#3#4#5#6[#7]#8{% - \setcounter{section@level}{#2}% - \NR@gettitle{#7}% - \NR@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Sectionformat{#8}{#2}}% -} +\@ifundefined{NR@nopatch@sectioning} + {\def\@sect#1#2#3#4#5#6[#7]#8{% + \setcounter{section@level}{#2}% + \NR@gettitle{#7}% + \NR@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Sectionformat{#8}{#2}}% + }}{} \let\NR@ssect\@ssect -\def\@ssect#1#2#3#4#5{% - \NR@gettitle{#5}% - \NR@ssect{#1}{#2}{#3}{#4}{\Sectionformat{#5}{#1}}% -} -\ltx@IfUndefined{ifheadnameref}{% -}{% - \ltx@IfUndefined{M@sect}{% +\@ifundefined{NR@nopatch@sectioning} + {\def\@ssect#1#2#3#4#5{% + \NR@gettitle{#5}% + \NR@ssect{#1}{#2}{#3}{#4}{\Sectionformat{#5}{#1}}% + }}{} +\@ifundefined{NR@nopatch@sectioning} + {\ltx@IfUndefined{ifheadnameref}{% }{% - \let\NRorg@M@sect\M@sect - \def\M@sect#1#2#3#4#5#6[#7][#8]{% - \ifheadnameref - \NR@gettitle{#8}% - \else - \NR@gettitle{#7}% - \fi - \NRorg@M@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}][{#8}]% + \ltx@IfUndefined{M@sect}{% + }{% + \let\NRorg@M@sect\M@sect + \def\M@sect#1#2#3#4#5#6[#7][#8]{% + \ifheadnameref + \NR@gettitle{#8}% + \else + \NR@gettitle{#7}% + \fi + \NRorg@M@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}][{#8}]% + }% }% - }% -} + }}{} \let\NR@part\@part -\long\def\@part[#1]#2{% - \NR@gettitle{#1}% - \NR@part[{#1}]{#2}% -} \let\NR@spart\@spart -\long\def\@spart#1{% - \NR@gettitle{#1}% - \NR@spart{#1}% -} \let\NR@chapter\@chapter -\def\@chapter[#1]#2{% - \NR@gettitle{#1}% - \NR@chapter[{#1}]{#2}% -} -\@ifclassloaded{memoir}{% - \ltx@IfUndefined{ifheadnameref}{% - }{% - \def\@chapter[#1]#2{% - \ltx@IfUndefined{ch@pt@c}{% - \NR@gettitle{#1}% - }{% - \ifx\ch@pt@c\ltx@empty - \NR@gettitle{#2}% - \else - \def\NR@temp{#1}% - \ifx\NR@temp\ltx@empty - \expandafter\NR@gettitle\expandafter{\ch@pt@c}% +\let\NR@schapter\@schapter +\@ifundefined{NR@nopatch@sectioning} + {% + \long\def\@part[#1]#2{% + \NR@gettitle{#1}% + \NR@part[{#1}]{#2}% + } + \long\def\@spart#1{% + \NR@gettitle{#1}% + \NR@spart{#1}% + } + \def\@chapter[#1]#2{% + \NR@gettitle{#1}% + \NR@chapter[{#1}]{#2}% + } + \@ifclassloaded{memoir}{% + \ltx@IfUndefined{ifheadnameref}{% + }{% + \def\@chapter[#1]#2{% + \ltx@IfUndefined{ch@pt@c}{% + \NR@gettitle{#1}% + }{% + \ifx\ch@pt@c\ltx@empty + \NR@gettitle{#2}% \else - \ifheadnameref - \NR@gettitle{#1}% - \else + \def\NR@temp{#1}% + \ifx\NR@temp\ltx@empty \expandafter\NR@gettitle\expandafter{\ch@pt@c}% + \else + \ifheadnameref + \NR@gettitle{#1}% + \else + \expandafter\NR@gettitle\expandafter{\ch@pt@c}% + \fi \fi \fi - \fi + }% + \NR@chapter[{#1}]{#2}% }% - \NR@chapter[{#1}]{#2}% }% - }% -}{} -\let\NR@schapter\@schapter -\def\@schapter#1{% - \NR@gettitle{#1}% - \NR@schapter{#1}% -} + }{} + \def\@schapter#1{% + \NR@gettitle{#1}% + \NR@schapter{#1}% + }}{} \AtBeginDocument{% - \@ifpackageloaded{hyperref}{% - \@ifpackagelater{hyperref}{2009/12/05}\@gobble\@firstofone - }\@firstofone + \@ifpackageloaded{hyperref}{} {% - \let\NR@@caption\@caption - \long\def\@caption#1[#2]{% + \@ifundefined{NR@nopatch@caption} + {\let\NR@@caption\@caption + \long\def\@caption#1[#2]{% \NR@gettitle{#2}% \NR@@caption{#1}[{#2}]% - }% + }}% + {}% }% \@ifpackageloaded{longtable}{% - \let\NRorg@LT@c@ption\LT@c@ption - \def\LT@c@ption#1[#2]#3{% - \NRorg@LT@c@ption{#1}[{#2}]{#3}% - \def\@tempa{#2}% - \ifx\@tempa\@empty - \else + \@ifundefined{NR@nopatch@longtable} + {% + \let\NRorg@LT@c@ption\LT@c@ption + \def\LT@c@ption#1[#2]#3{% + \NRorg@LT@c@ption{#1}[{#2}]{#3}% + \def\@tempa{#2}% + \ifx\@tempa\@empty + \else \NR@gettitle{#2}% - \fi - }% + \fi + }% + }{}% }{}% \ltx@IfUndefined{descriptionlabel}{% }{% - \let\NRorg@descriptionlabel\descriptionlabel - \def\descriptionlabel#1{% - \NR@gettitle{#1}% - \NRorg@descriptionlabel{#1}% - }% + \@ifundefined{NR@nopatch@longtable} + {\let\NRorg@descriptionlabel\descriptionlabel + \def\descriptionlabel#1{% + \NR@gettitle{#1}% + \NRorg@descriptionlabel{#1}% + }% + }{}% }% } \AtBeginDocument{% \@ifpackageloaded{titlesec}{% \let\NRorg@ttl@sect@i\ttl@sect@i - \def\ttl@sect@i#1#2[#3]#4{% - \NR@gettitle{#4}% - \NRorg@ttl@sect@i{#1}{#2}[{#3}]{#4}% - }% + \@ifundefined{NR@nopatch@titlesec} + {% + \def\ttl@sect@i#1#2[#3]#4{% + \NR@gettitle{#4}% + \NRorg@ttl@sect@i{#1}{#2}[{#3}]{#4}% + }% + }{}% }{}% } \@ifclassloaded{beamer}{% - \def\NR@PatchBeamer#1{% - \expandafter\let\csname NRorg@beamer@#1\expandafter\endcsname - \csname beamer@#1\endcsname - \begingroup - \edef\x{\endgroup - \long\def\expandafter\noexpand\csname beamer@#1\endcsname - [####1]{% hash-ok - \noexpand\NR@gettitle{####1}% - \expandafter\noexpand\csname NRorg@beamer@#1\endcsname - [{####1}]% + \@ifundefined{NR@nopatch@beamer} + {% + \def\NR@PatchBeamer#1{% + \expandafter\let\csname NRorg@beamer@#1\expandafter\endcsname + \csname beamer@#1\endcsname + \begingroup + \edef\x{\endgroup + \long\def\expandafter\noexpand\csname beamer@#1\endcsname + [####1]{% hash-ok + \noexpand\NR@gettitle{####1}% + \expandafter\noexpand\csname NRorg@beamer@#1\endcsname + [{####1}]% + }% }% + \x + }% + \NR@PatchBeamer{section}% + \NR@PatchBeamer{subsection}% + \NR@PatchBeamer{subsubsection}% + \addtobeamertemplate{theorem begin}{% + \expandafter\NR@gettitle\expandafter{\inserttheoremaddition}% + }{}% + \@ifdefinable{\NRorg@beamer@descriptionitem}{% + \let\NRorg@beamer@descriptionitem\beamer@descriptionitem + \renewcommand{\beamer@descriptionitem}[1]{% + \NR@gettitle{#1}% + \NRorg@beamer@descriptionitem{#1}% }% - \x - }% - \NR@PatchBeamer{section}% - \NR@PatchBeamer{subsection}% - \NR@PatchBeamer{subsubsection}% - \addtobeamertemplate{theorem begin}{% - \expandafter\NR@gettitle\expandafter{\inserttheoremaddition}% - }{}% - \@ifdefinable{\NRorg@beamer@descriptionitem}{% - \let\NRorg@beamer@descriptionitem\beamer@descriptionitem - \renewcommand{\beamer@descriptionitem}[1]{% - \NR@gettitle{#1}% - \NRorg@beamer@descriptionitem{#1}% }% - }% + }{}% }{} \ltx@IfUndefined{@opargbegintheorem}{}{% \let\NRorg@opargbegintheorem\@opargbegintheorem @@ -313,6 +354,7 @@ \long\def\@fifthoffive#1#2#3#4#5{#5} \providecommand*\@safe@activestrue{}% \providecommand*\@safe@activesfalse{}% +\newcommand\NR@ref@showkeys[1]{}% \def\NR@setref#1{% \begingroup \@safe@activestrue @@ -327,162 +369,88 @@ \@setref#1% } \def\T@ref#1{% + \NR@ref@showkeys{#1}% + \NR@setref{#1}\@firstoffive{#1}% +}% +\def\@refstar#1{% + \NR@ref@showkeys{#1}% \NR@setref{#1}\@firstoffive{#1}% }% \def\T@pageref#1{% + \NR@ref@showkeys{#1}% + \NR@setref{#1}\@secondoffive{#1}% +}% +\def\@pagerefstar#1{% + \NR@ref@showkeys{#1}% \NR@setref{#1}\@secondoffive{#1}% }% +\def\T@Ref#1{% + \NR@ref@showkeys{#1}% + \NR@setref{#1}\NR@MakeUppercaseFirstOfFive{#1}% + }% +\def\NR@MakeUppercaseFirstOfFive#1#2#3#4#5{% + \MakeUppercase#1% + }% +\def\@Refstar#1{% + \NR@ref@showkeys{#1}% + \NR@setref{#1}\NR@MakeUppercaseFirstOfFive{#1}% + }% \ifNR@showkeys \ifx\SK@ref\@empty \else - \def\T@ref#1{% - \@safe@activestrue - \SK@\SK@@ref{#1}% - \@safe@activesfalse - \NR@setref{#1}\@firstoffive{#1}% - }% - \def\T@pageref#1{% - \@safe@activestrue - \SK@\SK@@ref{#1}% - \@safe@activesfalse - \NR@setref{#1}\@secondoffive{#1}% - }% + \renewcommand\NR@ref@showkeys[1]{% + \@safe@activestrue + \SK@\SK@@ref{#1}% + \@safe@activesfalse} \fi \fi -\@ifpackageloaded{hyperref}{% -}{% - \DeclareRobustCommand{\ref}{\T@ref}% - \DeclareRobustCommand{\pageref}{\T@pageref}% +\AddToHook{begindocument}{% + \DeclareDocumentCommand\ref{s} + {\IfBooleanTF{#1}{\@refstar}{\T@ref}}% + \DeclareDocumentCommand\pageref{s} + {\IfBooleanTF{#1}{\@pagerefstar}{\T@pageref}}% + \DeclareDocumentCommand\Ref{s} + {\IfBooleanTF{#1}{\@Refstar}{\T@Ref}}% } +\DeclareHookRule{begindocument}{showkeys}{before}{nameref} \def\T@nameref#1{% + \NR@ref@showkeys{#1}% \begingroup \let\label\@gobble \NR@setref{#1}\@thirdoffive{#1}% \endgroup }% -\ifNR@showkeys - \ifx\SK@ref\@empty - \else - \def\T@nameref#1{% - \@safe@activestrue - \SK@\SK@@ref{#1}% - \@safe@activesfalse - \begingroup - \let\label\@gobble - \NR@setref{#1}\@thirdoffive{#1}% - \endgroup - }% - \fi -\fi - \DeclareRobustCommand*{\nameref}{% - \@ifstar\T@nameref\T@nameref - }% +\def\@namerefstar#1{% + \NR@ref@showkeys{#1}% + \begingroup + \let\label\@gobble + \NR@setref{#1}\@thirdoffive{#1}% + \endgroup +}% +\NewDocumentCommand\nameref{s} + {\IfBooleanTF{#1}{\@namerefstar}{\T@nameref}} \def\Nameref#1{`\nameref{#1}' on page~\pageref{#1}} \providecommand\Sectionformat[2]{#1} -\@ifpackageloaded{ifthen}{% - \let\NROrg@ifthenelse\ifthenelse - \def\ifthenelse{% - \let\begingroup\NR@TE@begingroup - \NROrg@ifthenelse - }% - \let\NROrg@begingroup\begingroup - \def\NR@TE@begingroup{% - \let\begingroup\NROrg@begingroup - \begingroup - \def\ref##1{\getrefbykeydefault{##1}{}{??}}% - \def\pageref##1{\getrefbykeydefault{##1}{page}{0}}% - }% -}{} +\@ifundefined{@kernel@pageref@exp} + {\@ifpackageloaded{ifthen}{% + \let\NROrg@ifthenelse\ifthenelse + \def\ifthenelse{% + \let\begingroup\NR@TE@begingroup + \NROrg@ifthenelse + }% + \let\NROrg@begingroup\begingroup + \def\NR@TE@begingroup{% + \let\begingroup\NROrg@begingroup + \begingroup + \def\ref##1{\getrefbykeydefault{##1}{}{??}}% + \def\pageref##1{\getrefbykeydefault{##1}{page}{0}}% + }% + }{}}{} \AtBeginDocument{% \ifx\csname @@vpageref\endcsname\relax \else - \ifdefined\vp@gerefstar \let\NR@@vpageref\@@vpageref - \else - \def\NR@@vpageref#1[#2]#3{% - \leavevmode\unskip - \global\advance\c@vrcnt\@ne - \@ifundefined{r@\the\c@vrcnt @vr}% - {\@namedef{r@\the\c@vrcnt @vr}{{??}{??}{}{}{}}}{}% - \edef\@tempa{% - \expandafter\expandafter\expandafter - \@secondoffive\csname r@\the\c@vrcnt @vr\endcsname - }% - \@ifundefined{r@\the\c@vrcnt @xvr}% - {\@namedef{r@\the\c@vrcnt @xvr}{{??}{??}{}{}{}}}{}% - \edef\@tempb{% - \expandafter\expandafter\expandafter - \@secondoffive\csname r@\the\c@vrcnt @xvr\endcsname - }% - {% - \let\@currentlabel\@empty - \expandafter\label\expandafter{\the\c@vrcnt @xvr}% - }% - \ifx\@tempa\@tempb - \else - \vref@err{% - \noexpand\vref at page boundary % - \@tempb-\@tempa\space (may loop)% - }% - \fi - \@ifundefined{r@#3}{\@namedef{r@#3}{{??}{??}{}{}{}}}{}% - \edef\thevpagerefnum{% - \expandafter\expandafter\expandafter - \@secondoffive\csname r@#3\endcsname - }% - \ifx\vref@space\@undefined - \space - \else - \vref@space - \fi - \ifx\@tempa\thevpagerefnum - #1% - \else - #2% - \is@pos@number\thevpagerefnum{% - \is@pos@number\@tempa{% - \@tempcnta\@tempa - \advance\@tempcnta\@ne - }{% - \@tempcnta\maxdimen - }% - \ifnum \thevpagerefnum =\@tempcnta - \ifodd\@tempcnta - \if@twoside - \reftextfaceafter - \else - \reftextafter - \fi - \else - \reftextafter - \fi - \else - \advance\@tempcnta-2 % - \ifnum \thevpagerefnum =\@tempcnta - \ifodd\@tempcnta - \reftextbefore - \else - \if@twoside - \reftextfacebefore - \else - \reftextbefore - \fi - \fi - \else - \reftextfaraway{#3}% - \fi - \fi - }{% - \reftextfaraway{#3}% - }% - \fi - {% - \let\@currentlabel\@empty - \expandafter\label\expandafter{\the\c@vrcnt @vr}% - }% - }% - \fi - \def\@@vpageref#1[#2]#3{% + \def\@@vpageref#1[#2]#3{% \begingroup \csname @safe@activestrue\endcsname \edef\x{#3}% @@ -496,38 +464,24 @@ \x }% \DeclareRobustCommand\vnameref[1]{% - \unskip~\nameref{#1}% + \unskip~\nameref{#1} % \@vpageref[\unskip]{#1}% }% \fi } -\@ifundefined{@Refstar}{% - \def\T@Ref#1{% - \NR@setref{#1}\NR@MakeUppercaseFirstOfFive{#1}% - }% - \def\NR@MakeUppercaseFirstOfFive#1#2#3#4#5{% - \MakeUppercase#1% - }% -}{}% -\AtBeginDocument{% - \@ifpackageloaded{varioref}{% - \@ifundefined{@Refstar}{% - \DeclareRobustCommand*{\Ref}[1]{% - \T@Ref{#1}% - }% - }{}% - }{}% -}% \AtBeginDocument{% \@ifpackageloaded{listings}{% - \let\NROrg@lst@MakeCaption\lst@MakeCaption - \def\lst@MakeCaption{% - \ifx\lst@label\@empty - \else - \let\@currentlabelname\lst@@caption - \fi - \NROrg@lst@MakeCaption - }% + \@ifundefined{NR@nopatch@listings} + {% + \let\NROrg@lst@MakeCaption\lst@MakeCaption + \def\lst@MakeCaption{% + \ifx\lst@label\@empty + \else + \let\@currentlabelname\lst@@caption + \fi + \NROrg@lst@MakeCaption + }% + }{}% }{}% } \endinput diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index 8d51e1614af..8b9bcb183b7 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `nohyperref') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,17 +23,18 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% -\NeedsTeXFormat{LaTeX2e}[1995/12/01] +%% +%% File: hyperref.dtx +\NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{nohyperref} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % Dummy hyperref (SR)] \RequirePackage{letltxmacro}[2008/06/13] \let\hyper@@anchor\@gobble @@ -66,14 +66,18 @@ } \long\def\@gobbleopt[#1]{} \let\hyperpage\@empty -\LetLtxMacro\NoHy@OrgRef\ref -\DeclareRobustCommand*{\ref}{% - \@ifstar\NoHy@OrgRef\NoHy@OrgRef -} -\LetLtxMacro\NoHy@OrgPageRef\pageref -\DeclareRobustCommand*{\pageref}{% - \@ifstar\NoHy@OrgPageRef\NoHy@OrgPageRef -} +\@ifl@t@r\fmtversion{2022-06-01} + {}% + {% + \LetLtxMacro\NoHy@OrgRef\ref + \DeclareRobustCommand*{\ref}{% + \@ifstar\NoHy@OrgRef\NoHy@OrgRef + } + \LetLtxMacro\NoHy@OrgPageRef\pageref + \DeclareRobustCommand*{\pageref}{% + \@ifstar\NoHy@OrgPageRef\NoHy@OrgPageRef + }% + } \endinput %% %% End of file `nohyperref.sty'. diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def index 0adc8dc9501..b0e492b65cd 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def +++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `pd1enc') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{pd1enc.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 12b831ef8de..1f5624638ef 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `pdfmark,pdfmarkbase,pdfform,outlines') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{pdfmark.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % Hyperref definitions for pdfmark specials] \Hy@VersionCheck{pdfmark.def} \begingroup @@ -1895,6 +1895,8 @@ \hss }% } +\@ifundefined{hyper@nopatch@sectioning} +{ \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% \Hy@MakeCurrentHrefAuto{section*}% @@ -1980,6 +1982,7 @@ \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% } +}{} \expandafter\def\csname Parent-4\endcsname{} \expandafter\def\csname Parent-3\endcsname{} \expandafter\def\csname Parent-2\endcsname{} @@ -1989,43 +1992,6 @@ \expandafter\def\csname Parent2\endcsname{} \expandafter\def\csname Parent3\endcsname{} \expandafter\def\csname Parent4\endcsname{} -\def\Hy@tempa{% - \def\@addchap[##1]##2{% - \typeout{##2}% - \if@twoside - \@mkboth{##1}{}% - \else - \@mkboth{}{##1}% - \fi - \addtocontents{lof}{\protect\addvspace{10\p@}}% - \addtocontents{lot}{\protect\addvspace{10\p@}}% - \Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend - }% - \if@twocolumn - \@topnewpage[\@makeschapterhead{##2}]% - \else - \@makeschapterhead{##2}% - \@afterheading - \fi - \addcontentsline{toc}{chapter}{##1}% - }% -} -\@ifclassloaded{scrbook}{% - \@ifclasslater{scrbook}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% -}{% - \@ifclassloaded{scrreprt}{% - \@ifclasslater{scrreprt}{2001/01/01}{% - \let\Hy@tempa\@empty - }{}% - }{% - \let\Hy@tempa\@empty - }% -}% -\Hy@tempa \endinput %% %% End of file `pdfmark.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/psdextra.def b/Master/texmf-dist/tex/latex/hyperref/psdextra.def index 96b3c7be23a..e40f1856d5b 100644 --- a/Master/texmf-dist/tex/latex/hyperref/psdextra.def +++ b/Master/texmf-dist/tex/latex/hyperref/psdextra.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `psdextra') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{psdextra.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 bd7b71ec75c..aae6ba42c18 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `puarenc') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{puarenc.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 f1fa5324254..19ad644e677 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `puextra') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{puenc-extra.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 b4ee659c0df..7c1e87fee57 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc-greekbasic.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc-greekbasic.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `pugreek') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{puenc-greekbasic.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 67b543ac5bf..3f5df286616 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `puenc') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{puenc.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 55ef3f8f6cf..0da8234e212 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def @@ -6,17 +6,16 @@ %% %% hyperref.dtx (with options: `puvnenc') %% -%% File: hyperref.dtx %% Copyright %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2021 LaTeX Project +%% 2019-2022 LaTeX Project %% https://github.com/latex3/hyperref/issues -%% +%% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- -%% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. @@ -24,16 +23,17 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is the LaTeX Project. -%% +%% %% The list of all files belonging to the `Hyperref Bundle' is %% given in the file `manifest.txt'. -%% +%% +%% File: hyperref.dtx \ProvidesFile{puvnenc.def} - [2022-02-21 v7.00n % + [2022-05-13 v7.00o % 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 feb4bf60a4d..3c269ed7daa 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-2021 David Carlisle +%% Copyright (C) 1993-2022 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-02-21 v7.00n eXternal References (DPC)] + [2022-05-13 v7.00o eXternal References (DPC)] \def\externaldocument{\@testopt\XR@cite{}} \let\externalcitedocument\externaldocument -- cgit v1.2.3