summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def19
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvips.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvipson.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdviwind.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hluatex.def4
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hpdftex.def202
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/htex4ht.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/htexture.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hvtex.def11
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hxetex.def19
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def56
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty131
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref.sty529
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hypertex.def11
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/nohyperref.sty2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/pd1enc.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/pdfmark.def19
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/psdextra.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/puarenc.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/puenc-extra.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/puenc-greekbasic.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/puenc.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/puvnenc.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty2
27 files changed, 362 insertions, 673 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
index 0f09c3bfcf9..b4c5c978f2f 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvipdfm.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hyperref driver for dvipdfm]
\Hy@VersionCheck{hdvipdfm.def}
\special{pdf:majorversion \Hy@pdf@majorversion}
@@ -1027,8 +1027,8 @@
\global\let\Hy@FormObjects\relax
}
\providecommand*{\Fld@pageobjref}{}
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdf@escapestring\endcsname\relax
+\@ifundefined{pdf@escapestring}
+ {%
\let\Hy@escapestring\@firstofone
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
@@ -1059,7 +1059,7 @@
}%
\fi
}%
-\else
+ }{%
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
\let\Hy@escapestring\pdfescapestring
@@ -1068,7 +1068,7 @@
\fi
}%
\Hy@escapeform{}%
-\fi
+ }
\def\PDFForm@Name{%
\PDFForm@@Name\Fld@name
\ifx\Fld@altname\relax
@@ -1682,12 +1682,9 @@
}%
}
\let\H@old@part\@part
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname chapter\endcsname\relax
- \let\Hy@secnum@part\z@
-\else
- \let\Hy@secnum@part\m@ne
-\fi
+\@ifundefined{chapter}
+ {\let\Hy@secnum@part\z@}
+ {\let\Hy@secnum@part\m@ne}
\def\@part{%
\ifnum\Hy@secnum@part>\c@secnumdepth
\phantomsection
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def
index 0947240584d..483c46d0a7d 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvips.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 7b84de4be9b..a4b010d9e2f 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvipson.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 57b7969324f..6e22c473078 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdviwind.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 5467f2f43e7..093571a7475 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hluatex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hluatex.def
@@ -34,10 +34,10 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hluatex.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hyperref driver for luaTeX]
\Hy@VersionCheck{hluatex.def}
-%% 2021-06-07 v7.00m
+%% 2022-02-21 v7.00n
%% 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 8551f61d6f4..bf57e9f6521 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hpdftex.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hyperref driver for pdfTeX]
\Hy@VersionCheck{hpdftex.def}
\pdf@ifdraftmode{%
@@ -116,111 +116,96 @@
\def\HyPat@ObjRef{%
[0-9]*[1-9][0-9]* 0 R%
}
-\let\Hy@pdfminorversion\relax
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdfminorversion\endcsname\relax
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname pdfoptionpdfminorversion\endcsname\relax
- \else
- \def\Hy@pdfminorversion{\pdfoptionpdfminorversion}%
+\def\Hy@pdfminorversion{\pdfoptionpdfminorversion}%
+\def\Hy@pdfminorversion{\pdfminorversion}%
+\ifHy@ocgcolorlinks
+ \ifnum\Hy@pdfmajorminor@version<105 %
+ \kvsetkeys{Hyp}{pdfversion=1.5}%
\fi
-\else
- \def\Hy@pdfminorversion{\pdfminorversion}%
\fi
-\@ifundefined{Hy@pdfminorversion}{%
- \PackageInfo{hyperref}{%
- PDF version is not set, because pdfTeX is too old (<1.10a)%
- }%
-}{%
- \ifHy@ocgcolorlinks
- \ifnum\Hy@pdfmajorminor@version<105 %
- \kvsetkeys{Hyp}{pdfversion=1.5}%
- \fi
+\ifHy@setpdfversion
+ \ifnum\Hy@pdf@majorminor@version<105 %
+ \ltx@IfUndefined{pdfobjcompresslevel}{%
+ }{%
+ \ifHy@verbose
+ \Hy@InfoNoLine{%
+ PDF object streams are disabled, because they are%
+ \MessageBreak
+ not supported in requested PDF version %
+ \Hy@pdf@majorversion.\Hy@pdf@minorversion
+ }%
+ \fi
+ \pdfobjcompresslevel=\ltx@zero
+ }%
\fi
- \ifHy@setpdfversion
- \ifnum\Hy@pdf@majorminor@version<105 %
- \ltx@IfUndefined{pdfobjcompresslevel}{%
- }{%
- \ifHy@verbose
- \Hy@InfoNoLine{%
- PDF object streams are disabled, because they are%
+ \ifnum\Hy@pdfmajorminor@version=\Hy@pdf@majorminor@version\relax
+ \else
+ \let\Hy@temp\ltx@empty
+ \def\Hy@temp@A#1#2{%
+ \ifnum#1>\ltx@zero
+ \edef\Hy@temp{%
+ \Hy@temp
+ \space\space
+ \the#1\space #2%
+ \ifnum#1=\ltx@one\else s\fi
+ \MessageBreak
+ }%
+ \fi
+ }%
+ \Hy@temp@A\pdflastobj{PDF object}%
+ \Hy@temp@A\pdflastxform{form XObject}%
+ \Hy@temp@A\pdflastximage{image XObject}%
+ \Hy@temp@A\pdflastannot{annotation}%
+ \ltx@IfUndefined{pdflastlink}{%
+ }{%
+ \Hy@temp@A\pdflastlink{link}%
+ }%
+ \ifx\Hy@temp\ltx@empty
+ \Hy@pdfmajorversion=\Hy@pdf@majorversion\relax
+ \Hy@pdfminorversion=\Hy@pdf@minorversion\relax
+ \else
+ \let\Hy@temp@A\ltx@empty
+ \ifnum\Hy@pdf@majorminor@version=104 %
+ \IfFileExists{pdf14.sty}{%
+ \def\Hy@temp@A{%
+ \MessageBreak
+ Or \string\RequirePackage{pdf14} can be used%
\MessageBreak
- not supported in requested PDF version %
- \Hy@pdf@majorversion.\Hy@pdf@minorversion
+ before \string\documentclass\space as shortcut%
}%
- \fi
- \pdfobjcompresslevel=\ltx@zero
- }%
- \fi
- \ifnum\Hy@pdfmajorminor@version=\Hy@pdf@majorminor@version\relax
- \else
- \let\Hy@temp\ltx@empty
- \def\Hy@temp@A#1#2{%
- \ifnum#1>\ltx@zero
- \edef\Hy@temp{%
- \Hy@temp
- \space\space
- \the#1\space #2%
- \ifnum#1=\ltx@one\else s\fi
+ }{}%
+ \fi
+ \Hy@WarningNoLine{%
+ The PDF version number could not be set,\MessageBreak
+ because some PDF objects are already written:%
+ \MessageBreak
+ \Hy@temp
+ The version should be set as early as possible:%
+ \MessageBreak
+ \space\space
+ \expandafter\string\Hy@pdfmajorversion=\Hy@pdf@majorversion, %
+ \expandafter\string\Hy@pdfminorversion=\Hy@pdf@minorversion
+ \string\relax
+ \ifnum\Hy@pdf@majorminor@version<105 %
+ \ltx@ifundefined{pdfobjcompresslevel}{%
+ }{%
\MessageBreak
+ \space\space
+ \string\pdfobjcompresslevel=0\string\relax
}%
\fi
+ \Hy@temp@A
}%
- \Hy@temp@A\pdflastobj{PDF object}%
- \Hy@temp@A\pdflastxform{form XObject}%
- \Hy@temp@A\pdflastximage{image XObject}%
- \Hy@temp@A\pdflastannot{annotation}%
- \ltx@IfUndefined{pdflastlink}{%
- }{%
- \Hy@temp@A\pdflastlink{link}%
- }%
- \ifx\Hy@temp\ltx@empty
- \Hy@pdfmajorversion=\Hy@pdf@majorversion\relax
- \Hy@pdfminorversion=\Hy@pdf@minorversion\relax
- \else
- \let\Hy@temp@A\ltx@empty
- \ifnum\Hy@pdf@majorminor@version=104 %
- \IfFileExists{pdf14.sty}{%
- \def\Hy@temp@A{%
- \MessageBreak
- Or \string\RequirePackage{pdf14} can be used%
- \MessageBreak
- before \string\documentclass\space as shortcut%
- }%
- }{}%
- \fi
- \Hy@WarningNoLine{%
- The PDF version number could not be set,\MessageBreak
- because some PDF objects are already written:%
- \MessageBreak
- \Hy@temp
- The version should be set as early as possible:%
- \MessageBreak
- \space\space
- \expandafter\string\Hy@pdfmajorversion=\Hy@pdf@majorversion, %
- \expandafter\string\Hy@pdfminorversion=\Hy@pdf@minorversion
- \string\relax
- \ifnum\Hy@pdf@majorminor@version<105 %
- \ltx@ifundefined{pdfobjcompresslevel}{%
- }{%
- \MessageBreak
- \space\space
- \string\pdfobjcompresslevel=0\string\relax
- }%
- \fi
- \Hy@temp@A
- }%
- \fi
\fi
- \PackageInfo{hyperref}{%
- \expandafter\string\Hy@pdfmajorversion.%
- \expandafter\string\Hy@pdfminorversion
- :=\number\Hy@pdf@majorversion.\number\Hy@pdf@minorversion\space
- }%
\fi
- \edef\Hy@pdf@majorversion{\number\Hy@pdfmajorversion}%
- \edef\Hy@pdf@minorversion{\number\Hy@pdfminorversion}%
-}
+ \PackageInfo{hyperref}{%
+ \expandafter\string\Hy@pdfmajorversion.%
+ \expandafter\string\Hy@pdfminorversion
+ :=\number\Hy@pdf@majorversion.\number\Hy@pdf@minorversion\space
+ }%
+\fi
+\edef\Hy@pdf@majorversion{\number\Hy@pdfmajorversion}%
+\edef\Hy@pdf@minorversion{\number\Hy@pdfminorversion}%
\Hy@DisableOption{pdfversion}%
\ifHy@ocgcolorlinks
\pdf@ifdraftmode{}{%
@@ -781,8 +766,8 @@
}%
\let\HyField@afields\ltx@empty
\let\HyField@cofields\ltx@empty
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdflastlink\endcsname\relax
+\@ifundefined{pdflastlink}
+ {%
\let\HyField@AddToFields\relax
\PackageInfo{hyperref}{%
You need pdfTeX 1.40.0 for setting the /Fields entry.%
@@ -790,8 +775,8 @@
Adobe Reader/Acrobat accepts an empty /Field array,%
\MessageBreak
but other PDF viewers might complain%
- }%
-\else
+ }}%
+ {%
\let\HyField@AuxAddToFields\ltx@gobble
\let\HyField@AuxAddToCoFields\ltx@gobbletwo
\def\HyField@AfterAuxOpen{\Hy@AtBeginDocument}%
@@ -881,7 +866,7 @@
\fi
}%
}%
-\fi
+ }
\def\@Form[#1]{%
\@ifundefined{textcolor}{\let\textcolor\@gobble}{}%
\kvsetkeys{Form}{#1}%
@@ -1259,8 +1244,8 @@
\global\let\Hy@FormObjects\relax
}
\providecommand*{\Fld@pageobjref}{}
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdf@escapestring\endcsname\relax
+\@ifundefined{pdf@escapestring}
+ {%
\let\Hy@escapestring\@firstofone
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
@@ -1291,7 +1276,7 @@
}%
\fi
}%
-\else
+ }{%
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
\let\Hy@escapestring\pdfescapestring
@@ -1300,7 +1285,7 @@
\fi
}%
\Hy@escapeform{}%
-\fi
+ }
\def\PDFForm@Name{%
\PDFForm@@Name\Fld@name
\ifx\Fld@altname\relax
@@ -1905,12 +1890,9 @@
}%
}
\let\H@old@part\@part
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname chapter\endcsname\relax
- \let\Hy@secnum@part\z@
-\else
- \let\Hy@secnum@part\m@ne
-\fi
+\@ifundefined{chapter}
+ {\let\Hy@secnum@part\z@}
+ {\let\Hy@secnum@part\m@ne}
\def\@part{%
\ifnum\Hy@secnum@part>\c@secnumdepth
\phantomsection
diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg
index 997bf6f2dd0..49d2dcedd7b 100644
--- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg
+++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{htex4ht.cfg}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 2109141c206..062f8f8f48c 100644
--- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def
+++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{htex4ht.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 c22213dd893..764da59b386 100644
--- a/Master/texmf-dist/tex/latex/hyperref/htexture.def
+++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{htexture.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 7dacd15bee3..0df5fd3fcff 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hvtex.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hyperref driver for VTeX in PDF/PS mode]
\Hy@VersionCheck{hvtex.def}
\providecommand*{\XR@ext}{pdf}
@@ -956,12 +956,9 @@
}%
}
\let\H@old@part\@part
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname chapter\endcsname\relax
- \let\Hy@secnum@part\z@
-\else
- \let\Hy@secnum@part\m@ne
-\fi
+\@ifundefined{chapter}
+ {\let\Hy@secnum@part\z@}
+ {\let\Hy@secnum@part\m@ne}
\def\@part{%
\ifnum\Hy@secnum@part>\c@secnumdepth
\phantomsection
diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def
index 23f50718772..661cae61b99 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hvtexhtml.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 137d7c2b9cd..8b84ff5a32a 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hvtexmrk.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 cee541df30b..89953deff54 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hxetex.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hyperref driver for XeTeX]
\Hy@VersionCheck{hxetex.def}
\HyPsd@LoadUnicode
@@ -1094,8 +1094,8 @@
\global\let\Hy@FormObjects\relax
}
\providecommand*{\Fld@pageobjref}{}
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdf@escapestring\endcsname\relax
+\@ifundefined{pdf@escapestring}
+ {%
\let\Hy@escapestring\@firstofone
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
@@ -1126,7 +1126,7 @@
}%
\fi
}%
-\else
+ }{%
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
\let\Hy@escapestring\pdfescapestring
@@ -1135,7 +1135,7 @@
\fi
}%
\Hy@escapeform{}%
-\fi
+ }
\def\PDFForm@Name{%
\PDFForm@@Name\Fld@name
\ifx\Fld@altname\relax
@@ -1749,12 +1749,9 @@
}%
}
\let\H@old@part\@part
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname chapter\endcsname\relax
- \let\Hy@secnum@part\z@
-\else
- \let\Hy@secnum@part\m@ne
-\fi
+\@ifundefined{chapter}
+ {\let\Hy@secnum@part\z@}
+ {\let\Hy@secnum@part\m@ne}
\def\@part{%
\ifnum\Hy@secnum@part>\c@secnumdepth
\phantomsection
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def b/Master/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def
deleted file mode 100644
index b488946237c..00000000000
--- a/Master/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def
+++ /dev/null
@@ -1,56 +0,0 @@
-%%
-%% This is file `hyperref-langpatches.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% hyperref.dtx (with options: `lang')
-%%
-%% 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
-%% 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'.
-%%
-\ProvidesFile{hyperref-langpatches.def}
- [2021-06-07 v7.00m %
- Hyperref: patches for babel languages]
-\ltx@IfUndefined{spanish@sh@>@sel}{}{%
- \def\HyPsd@babel@spanish{%
- \declare@shorthand{spanish}{<<}{\guillemotleft}%
- \declare@shorthand{spanish}{>>}{\guillemotright}%
- \declare@shorthand{spanish}{"=}{-}%
- \declare@shorthand{spanish}{"~}{-}%
- \declare@shorthand{spanish}{"!}{\textexclamdown}%
- \declare@shorthand{spanish}{"?}{\textquestiondown}%
- }%
-}
-\def\HyPsd@SpanishPatch{%
- \ltx@IfUndefined{es@save@dot}{%
- }{%
- \let\.\es@save@dot
- }%
-}
-\endinput
-%%
-%% End of file `hyperref-langpatches.def'.
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty
new file mode 100644
index 00000000000..0e4ff5edaf3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty
@@ -0,0 +1,131 @@
+%%
+%% This is file `hyperref-patches.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% hyperref-patches.dtx (with options: `package')
+%%
+%% 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
+%% 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'.
+
+\ProvidesPackage{hyperref-patches}[2021-06-29 v0.9 old hyperref patches]
+\newif\ifHy@patches@foiltex
+\Hy@patches@foiltextrue
+\DeclareOption{nofoiltex}{\Hy@patches@foiltexfalse}
+\newif\ifHy@patches@listing
+\Hy@patches@listingtrue
+\DeclareOption{nolisting}{\Hy@patches@listingfalse}
+\newif\ifHy@patches@listings
+\Hy@patches@listingstrue
+\DeclareOption{nolistings}{\Hy@patches@listingsfalse}
+\newif\ifHy@patches@revtex
+\Hy@patches@revtextrue
+\DeclareOption{norevtex}{\Hy@patches@revtexfalse}
+\ProcessOptions
+\ifHy@patches@foiltex
+\@ifclassloaded{foils}{%
+ \providecommand*\ext@table{lot}%
+ \providecommand*\ext@figure{lof}%
+}{}
+\fi
+\ifHy@patches@listing
+\@ifpackageloaded{listing}{%
+ \providecommand*\theHlisting{\thelisting}%
+ \providecommand*\toclevel@listing{0}%
+}{}
+\fi
+\ifHy@patches@listings
+\@ifpackageloaded{listings}{%
+ \providecommand*\theHlstlisting{\thelstlisting}%
+ \providecommand*\toclevel@lstlisting{0}%
+}{}
+\fi
+\ifHy@patches@revtex
+\@ifclassloaded{revtex}{%
+ \Hy@Info{*** compatibility with revtex **** }%
+ \def\revtex@checking#1#2{%
+ \expandafter\let\expandafter\T@temp\csname b@#1\endcsname
+ \expandafter\def\csname b@#1\endcsname{#2}%
+ \@SetMaxRnhefLabel{#1}%
+ \expandafter\let\csname b@#1\endcsname\T@temp
+ }%
+ \@ifundefined{@CITE}{\def\@CITE{\@cite}}{}%
+ \providecommand*{\@extra@b@citeb}{}%
+ \def\@CITEX[#1]#2{%
+ \let\@citea\@empty
+ \leavevmode
+ \unskip
+ $^{%
+ \scriptstyle
+ \@CITE{%
+ \@for\@citeb:=#2\do{%
+ \@citea
+ \def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw
+ \immediate\write\@auxout{\string\citation{\@citeb}}%
+ \fi
+ \@ifundefined{b@\@citeb\extra@b@citeb}{%
+ \mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue
+ \@latex@warning{%
+ Citation `\@citeb' on page \thepage \space undefined%
+ }%
+ }{%
+ {\csname b@\@citeb\@extra@b@citeb\endcsname}%
+ }%
+ }%
+ }{#1}%
+ }$%
+ }%
+ \def\@citex[#1]#2{%
+ \let\@citea\@empty
+ \@cite{%
+ \@for\@citeb:=#2\do{%
+ \@citea
+ \def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw
+ \immediate\write\@auxout{\string\citation{\@citeb}}%
+ \fi
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{%
+ \mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue
+ \@latex@warning{%
+ Citation `\@citeb' on page \thepage \space undefined%
+ }%
+ }{%
+ \hbox{\csname b@\@citeb\@extra@b@citeb\endcsname}%
+ }%
+ }%
+ }{#1}%
+ }%
+}{}
+\fi
+\endinput
+%%
+%% End of file `hyperref-patches.sty'.
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
index fc69c087e4f..2eb6ceb474c 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
@@ -34,7 +34,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{hyperref}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hypertext links for LaTeX]
\begingroup
\@makeother\`%
@@ -103,6 +103,7 @@
}%
\endgroup
\Hy@SetCatcodes
+\ifx\ExplSyntaxOn\undefined \RequirePackage{expl3}\fi
\RequirePackage{ltxcmds}[2010/11/12]
\RequirePackage{iftex}[2019/10/24]
\RequirePackage{pdftexcmds}[2018/09/10]
@@ -338,47 +339,10 @@
\long\def\Hy@ReturnAfterElseFiFiEnd#1\else#2\Hy@ReturnEnd{\fi\fi#1}
\def\Hy@safe@activestrue{\csname @safe@activestrue\endcsname}
\def\Hy@safe@activesfalse{\csname @safe@activesfalse\endcsname}
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname dimexpr\endcsname\relax
- \def\hypercalcbpdef#1#2{%
- \begingroup
- \toks@{}%
- \HyCal@scan#2\hypercalcbp\@nil
- \expandafter\endgroup
- \expandafter\def\expandafter#1\expandafter{\the\toks@}%
- }%
- \def\HyCal@scan#1\hypercalcbp#2\@nil{%
- \toks@\expandafter{\the\toks@ #1}%
- \ifx\\#2\\%
- \else
- \ltx@ReturnAfterFi{%
- \HyCal@do#2\@nil
- }%
- \fi
- }%
- \def\HyCal@do#1#2\@nil{%
- \@ifpackageloaded{calc}{}{%
- \Hy@Warning{%
- For calculations \string\hypercalcbp\space needs\MessageBreak
- package calc or e-TeX%
- }%
- }%
- \setlength{\dimen@}{#1}%
- \setlength{\dimen@}{0.99626401\dimen@}%
- \edef\x{%
- \toks@{%
- \the\toks@
- \strip@pt\dimen@
- }%
- }\x
- \HyCal@scan#2\@nil
- }%
-\else
\def\hypercalcbp#1{%
\strip@pt\dimexpr 0.99626401\dimexpr(#1)\relax\relax
}%
\def\hypercalcbpdef{\def}%
-\fi
\def\pdfstringdef#1#2{%
\begingroup
\escapechar`\\%
@@ -492,11 +456,9 @@
\let\bbl@info\@gobble
\csname HyPsd@babel@\language@group\endcsname
}%
- \HyPsd@SpanishPatch
\let\@safe@activestrue\relax
\let\@safe@activesfalse\relax
\let\cyr\relax
- \let\es@roman\@Roman
\let\glqq\textglqq
\let\grqq\textgrqq
\let\glq\textglq
@@ -797,12 +759,6 @@
\ltx@GlobalAppendToMacro\pdfstringdefPreHook{#1}%
\endgroup
}
-\let\HyPsd@pdfstringdefDisableCommands\pdfstringdefDisableCommands
-\AtBeginDocument{%
- \@ifundefined{pdfstringdefDisableCommands}{%
- \let\pdfstringdefDisableCommands\HyPsd@pdfstringdefDisableCommands
- }{}%
-}
\def\pdfstringdefWarn#1{%
\expandafter\noexpand\csname<>-\string#1\endcsname
}
@@ -816,7 +772,6 @@
}%
\x
\newif\ifHy@next
-\input{hyperref-langpatches.def}
\RequirePackage{intcalc}[2007/09/27]
\def\HyPsd@CJKhook{%
\ltx@ifpackageloaded{CJK}{%
@@ -1808,14 +1763,21 @@
\@backslashchar 000#1%
}%
\fi
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname numexpr\endcsname\relax
- \let\HyPsd@UTFviii\relax
+\ifcsname UTFviii@loop\endcsname
+ \def\HyPsd@expand@utfvii{%
+ \count@"C2
+ \@tempcnta"F5
+ \def\UTFviii@tmp{\expandafter\def\expandafter~\expandafter{~}}%
+ \UTFviii@loop
+ }
\else
+ \def\HyPsd@expand@utfvii{}
+\fi
\begingroup
\lccode`\~=`^^f4\relax
\lowercase{\endgroup
\def\HyPsd@UTFviii{%
+ \HyPsd@expand@utfvii
\let\UTFviii@two@octets\HyPsd@UTFviii@two
\let\UTFviii@three@octets\HyPsd@UTFviii@three
\let\UTFviii@four@octets\HyPsd@UTFviii@four
@@ -1949,7 +1911,6 @@
\number\numexpr#1-8*\number\dimexpr.125\dimexpr#1sp%
\relax\relax\relax
}%
-\fi
\def\HyPsd@utf@viii@undeferr#1#2#3#4#5#6{%
\ifx\@gobble#1%
\else
@@ -2739,8 +2700,8 @@
}%
}
\DeclareVoidOption{latex2html}{%
- \HyOpt@CheckDvi{latex2html}{%
- \Hy@AtBeginDocument{\@@latextohtmlX}%
+ \Hy@Warning{Option `latex2html` is obsolete. \MessageBreak
+ A current html.sty will do all necessary (re)definitions%
}%
}
\DeclareVoidOption{ps2pdf}{%
@@ -3251,14 +3212,6 @@
\def\toclevel@subparagraph{5}
\def\toclevel@figure{0}
\def\toclevel@table{0}
-\@ifpackageloaded{listings}{%
- \providecommand*\theHlstlisting{\thelstlisting}%
- \providecommand*\toclevel@lstlisting{0}%
-}{}
-\@ifpackageloaded{listing}{%
- \providecommand*\theHlisting{\thelisting}%
- \providecommand*\toclevel@listing{0}%
-}{}
\define@key{Hyp}{bookmarks}[true]{%
\Hy@boolkey{bookmarks}{#1}%
}
@@ -3743,16 +3696,9 @@
\def\@pdfviewparams{ #2}%
\fi
}
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname numexpr\endcsname\relax
- \def\Hy@number#1{%
- \expandafter\@firstofone\expandafter{\number#1}%
- }%
-\else
- \def\Hy@number#1{%
- \the\numexpr#1\relax
+\def\Hy@number#1{%
+ \the\numexpr#1\relax
}%
-\fi
\define@key{Hyp}{pdfstartpage}{%
\ifx\\#1\\%
\let\@pdfstartpage\ltx@empty
@@ -3764,7 +3710,7 @@
\ifx\\#1\\%
\let\@pdfstartview\ltx@empty
\else
- \hypercalcbpdef\@pdfstartview{/#1}%
+ \def\@pdfstartview{/#1}%
\fi
}
\def\HyPat@NonNegativeReal/{%
@@ -3774,8 +3720,7 @@
\ifx\\#1\\%
\def\@pdfremotestartview{/Fit}%
\else
- \hypercalcbpdef\@pdfremotestartview{#1}%
- \edef\@pdfremotestartview{\@pdfremotestartview}%
+ \edef\@pdfremotestartview{#1}%
\Hy@Match\@pdfremotestartview{}{%
^(XYZ(%
()| %
@@ -4884,6 +4829,44 @@
\expandafter\hyper@@anchor\expandafter{\Hy@AnchorName}{\relax}#4%
\fi
}
+\ExplSyntaxOn
+\cs_new:Npn \hyperget #1 #2
+ {
+ \use:c { __hyp_get_#1:n } { #2}
+ }
+
+\cs_new:Npn \__hyp_get_anchor:n #1
+ {
+ \HyperDestNameFilter
+ {
+ \cs_if_exist:cTF {r@#1}
+ {
+ \tl_item:cn {r@#1}{4}
+ }
+ {
+ Doc-Start
+ }
+ }
+ }
+\cs_new:Npn \__hyp_get_pageanchor:n #1
+ {
+ \HyperDestNameFilter
+ {
+ \cs_if_exist:cTF {r@#1}
+ {
+ page. \tl_item:cn {r@#1}{2}
+ }
+ {
+ Doc-Start
+ }
+ }
+ }
+\cs_new:Npn \__hyp_get_currentanchor:n #1
+ {
+ \HyperDestNameFilter { \@currentHref }
+ }
+\ExplSyntaxOff
+
\newdimen\XeTeXLinkMargin
\setlength{\XeTeXLinkMargin}{2pt}
\ifxetex
@@ -5184,21 +5167,6 @@
\AddLineBeginAux{%
\string\providecommand\string\hyper@newdestlabel[2]{}%
}
-\let\htmladdimg\hyperimage
-\def\htmladdnormallink#1#2{\href{#2}{#1}}
-\def\htmladdnormallinkfoot#1#2{\href{#2}{#1}\footnote{#2}}
-\def\htmlref#1#2{% anchor text, label
- \label@hyperref[{#2}]{#1}%
-}
-\def\@@latextohtmlX{%
- \let\hhyperref\hyperref
- \def\hyperref##1##2##3##4{% anchor text for HTML
- % text to print before label in print
- % label
- % post-label text in print
- ##2\ref{##4}##3%
- }%
-}
\RequirePackage{bitset}
\def\HyField@NewFlag#1#2{%
\lowercase{\HyField@NewOption{#2}}%
@@ -5802,35 +5770,18 @@
\afterassignment\Hy@defaultbpAux
\dimen@=#2bp\relax{#1}{#2}%
}
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname dimexpr\endcsname\relax
- \def\Hy@defaultbpAux#1\relax#2#3{%
- \ifx!#1!%
- \endgroup
- \def#2{#3}%
- \else
- \dimen@=.99626\dimen@
- \edef\x{\endgroup
- \def\noexpand#2{%
- \strip@pt\dimen@
- }%
- }\x
- \fi
- }%
-\else
- \def\Hy@defaultbpAux#1\relax#2#3{%
- \ifx!#1!%
- \endgroup
- \def#2{#3}%
- \else
- \edef\x{\endgroup
- \def\noexpand#2{%
- \strip@pt\dimexpr\dimen@*800/803\relax
- }%
- }\x
- \fi
- }%
-\fi
+\def\Hy@defaultbpAux#1\relax#2#3{%
+ \ifx!#1!%
+ \endgroup
+ \def#2{#3}%
+ \else
+ \edef\x{\endgroup
+ \def\noexpand#2{%
+ \strip@pt\dimexpr\dimen@*800/803\relax
+ }%
+ }\x
+ \fi
+}%
\define@key{Field}{borderstyle}{%
\let\Hy@temp\Fld@borderstyle
\def\Fld@borderstyle{#1}%
@@ -6696,6 +6647,19 @@
\@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}%
+ {\Hy@MakeCurrentHref{#1}}%
+ }
+ }
+ {
+ \def\hyper@hook@dest@make{}
+ }
\def\hyper@makecurrent#1{%
\begingroup
\Hy@safe@activestrue
@@ -6741,6 +6705,7 @@
\else
\global\let\@currentHref\HyperGlobalCurrentHref
\fi
+ \hyper@hook@dest@make
}
\def\Hy@MakeCurrentHref#1{%
\edef\HyperLocalCurrentHref{#1}%
@@ -6753,63 +6718,11 @@
\global\let\@currentHref\HyperGlobalCurrentHref
\fi
}
-\def\Hy@MakeCurrentHrefAuto#1{%
- \Hy@GlobalStepCount\Hy@linkcounter
- \Hy@MakeCurrentHref{#1.\the\Hy@linkcounter}%
-}
+ \def\Hy@MakeCurrentHrefAuto#1{%
+ \Hy@GlobalStepCount\Hy@linkcounter
+ \Hy@MakeCurrentHref{#1.\the\Hy@linkcounter}%
+ \hyper@hook@dest@make}
\def\@currentHlabel{\@currentHref}
-\Hy@AtBeginDocument{%
- \@ifclassloaded{revtex4}{%
- \@namedef{ver@lastpage.sty}{1994/06/25}%
- }{}%
- \@ifpackageloaded{lastpage}{%
- \ifHy@pageanchor
- \else
- \Hy@WarningNoLine{%
- The \string\pageref{LastPage} link doesn't work\MessageBreak
- with disabled option `pageanchor'%
- }%
- \fi
- \def\lastpage@putlabel{%
- \addtocounter{page}{-1}%
- \if@filesw
- \begingroup
- \let\@number\@firstofone
- \ifHy@pageanchor
- \ifHy@hypertexnames
- \ifHy@plainpages
- \def\Hy@temp{\arabic{page}}%
- \else
- \Hy@unicodefalse
- \pdfstringdef\Hy@temp{\thepage}%
- \fi
- \else
- \def\Hy@temp{\the\Hy@pagecounter}%
- \fi
- \fi
- \immediate\write\@auxout{%
- \string\newlabel
- {LastPage}{{}{\thepage}{}{%
- \ifHy@pageanchor page.\Hy@temp\fi}{}}%
- }%
- \endgroup
- \fi
- \addtocounter{page}{1}%
- }%
- \@ifclassloaded{revtex4}{%
- \begingroup
- \toks@\expandafter{\lastpage@putlabel}%
- \edef\x{\endgroup
- \def\noexpand\lastpage@putlabel{%
- \noexpand\stepcounter{page}%
- \the\toks@
- \noexpand\addtocounter{page}\noexpand\m@ne
- }%
- }%
- \x
- }{}%
- }{}%
-}
\def\hypergetref#1{\getrefbykeydefault{#1}{}{??}}
\def\hypergetpageref#1{\getrefbykeydefault{#1}{page}{0}}
\@ifpackageloaded{titlesec}{%
@@ -6845,9 +6758,6 @@
\let\Hy@raisedlink\ttl@b
}%
}{}
-\@ifpackageloaded{titletoc}{%
- \def\ttl@gobblecontents#1#2#3#4{\ignorespaces}%
-}{}
\AtBeginDocument{%
\def\Hy@varioref@undefined{{??}{??}{}{}{}}
\@ifpackageloaded{varioref}{%
@@ -6858,16 +6768,6 @@
\edef#1{\getpagerefnumber{#2}}%
}%
}{}
-\def\Hy@varioref@refstepcounter#1{%
- \stepcounter{#1}%
- \protected@edef\@currentlabel{%
- \csname p@#1\expandafter\endcsname\csname the#1\endcsname
- }%
-}
- \ifx\refstepcounter\Hy@varioref@refstepcounter
- \let\H@refstepcounter\refstepcounter
- \let\refstepcounter\Hy@saved@refstepcounter
- \fi
}
\@ifpackageloaded{longtable}{%
\begingroup
@@ -7309,7 +7209,8 @@
\floatingpenalty \@MM
\hsize\columnwidth
\@parboxrestore
- \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}%
+ \def\@currentcounter{footnote}%
+ \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}%
\@makefntext{}%
\rule{\z@}{\footnotesep}%
\bgroup
@@ -7532,66 +7433,6 @@
\ignorespaces
}%
}{}
-\@ifclassloaded{revtex}{%
- \Hy@Info{*** compatibility with revtex **** }%
- \def\revtex@checking#1#2{%
- \expandafter\let\expandafter\T@temp\csname b@#1\endcsname
- \expandafter\def\csname b@#1\endcsname{#2}%
- \@SetMaxRnhefLabel{#1}%
- \expandafter\let\csname b@#1\endcsname\T@temp
- }%
- \@ifundefined{@CITE}{\def\@CITE{\@cite}}{}%
- \providecommand*{\@extra@b@citeb}{}%
- \def\@CITEX[#1]#2{%
- \let\@citea\@empty
- \leavevmode
- \unskip
- $^{%
- \scriptstyle
- \@CITE{%
- \@for\@citeb:=#2\do{%
- \@citea
- \def\@citea{,\penalty\@m\ }%
- \edef\@citeb{\expandafter\@firstofone\@citeb}%
- \if@filesw
- \immediate\write\@auxout{\string\citation{\@citeb}}%
- \fi
- \@ifundefined{b@\@citeb\extra@b@citeb}{%
- \mbox{\reset@font\bfseries ?}%
- \G@refundefinedtrue
- \@latex@warning{%
- Citation `\@citeb' on page \thepage \space undefined%
- }%
- }{%
- {\csname b@\@citeb\@extra@b@citeb\endcsname}%
- }%
- }%
- }{#1}%
- }$%
- }%
- \def\@citex[#1]#2{%
- \let\@citea\@empty
- \@cite{%
- \@for\@citeb:=#2\do{%
- \@citea
- \def\@citea{,\penalty\@m\ }%
- \edef\@citeb{\expandafter\@firstofone\@citeb}%
- \if@filesw
- \immediate\write\@auxout{\string\citation{\@citeb}}%
- \fi
- \@ifundefined{b@\@citeb\@extra@b@citeb}{%
- \mbox{\reset@font\bfseries ?}%
- \G@refundefinedtrue
- \@latex@warning{%
- Citation `\@citeb' on page \thepage \space undefined%
- }%
- }{%
- \hbox{\csname b@\@citeb\@extra@b@citeb\endcsname}%
- }%
- }%
- }{#1}%
- }%
-}{}
\@ifpackageloaded{harvard}{%
\Hy@AtBeginDocument{%
\Hy@Info{*** compatibility with harvard **** }%
@@ -8147,200 +7988,6 @@
}%
\fi
}
-\@ifclassloaded{foils}{%
- \providecommand*\ext@table{lot}%
- \providecommand*\ext@figure{lof}%
-}{}
-\@ifclassloaded{seminar}{%
- \Hy@seminarslidestrue
- \providecommand\theHslide{\arabic{slide}}%
-}{%
- \Hy@seminarslidesfalse
-}
-\@ifpackageloaded{slidesec}{%
- \providecommand\theHslidesection {\arabic{slidesection}}%
- \providecommand\theHslidesubsection{%
- \theHslidesection.\arabic{slidesubsection}%
- }%
- \def\slide@heading[#1]#2{%
- \H@refstepcounter{slidesection}%
- \@addtoreset{slidesubsection}{slidesection}%
- \addtocontents{los}{%
- \protect\l@slide{\the\c@slidesection}{\ignorespaces#1}%
- {\@SCTR}{slideheading.\theslidesection}%
- }%
- \def\Hy@tempa{#2}%
- \ifx\Hy@tempa\@empty
- \else
- {%
- \edef\@currentlabel{%
- \csname p@slidesection\endcsname\theslidesection
- }%
- \makeslideheading{#2}%
- }%
- \fi
- \gdef\theslideheading{#1}%
- \gdef\theslidesubheading{}%
- \ifHy@bookmarksnumbered
- \def\Hy@slidetitle{\theslidesection\space #1}%
- \else
- \def\Hy@slidetitle{#1}%
- \fi
- \ifHy@hypertexnames
- \ifHy@naturalnames
- \hyper@@anchor{slideheading.\theslidesection}{\relax}%
- \Hy@writebookmark
- {\theslidesection}%
- {\Hy@slidetitle}%
- {slideheading.\theslidesection}%
- {1}%
- {toc}%
- \else
- \hyper@@anchor{slideheading.\theHslidesection}{\relax}%
- \Hy@writebookmark
- {\theslidesection}%
- {\Hy@slidetitle}%
- {slideheading.\theHslidesection}%
- {1}%
- {toc}%
- \fi
- \else
- \Hy@GlobalStepCount\Hy@linkcounter
- \hyper@@anchor{slideheading.\the\Hy@linkcounter}{\relax}%
- \Hy@writebookmark
- {\theslidesection}%
- {\Hy@slidetitle}%
- {slideheading.\the\Hy@linkcounter}%
- {1}%
- {toc}%
- \fi
- }%
- \def\slide@subheading[#1]#2{%
- \H@refstepcounter{slidesubsection}%
- \addtocontents{los}{%
- \protect\l@subslide{\the\c@slidesubsection}{\ignorespaces#1}%
- {\@SCTR}{slideheading.\theslidesubsection}%
- }%
- \def\Hy@tempa{#2}%
- \ifx\Hy@tempa\@empty
- \else
- {%
- \edef\@currentlabel{%
- \csname p@slidesubsection\endcsname\theslidesubsection
- }%
- \makeslidesubheading{#2}%
- }%
- \fi
- \gdef\theslidesubheading{#1}%
- \ifHy@bookmarksnumbered
- \def\Hy@slidetitle{\theslidesubsection\space #1}%
- \else
- \def\Hy@slidetitle{#1}%
- \fi
- \ifHy@hypertexnames
- \ifHy@naturalnames
- \hyper@@anchor{slideheading.\theslidesubsection}{\relax}%
- \Hy@writebookmark
- {\theslidesubsection}%
- {\Hy@slidetitle}%
- {slideheading.\theslidesubsection}%
- {2}%
- {toc}%
- \else
- \hyper@@anchor{slideheading.\theHslidesubsection}{\relax}%
- \Hy@writebookmark
- {\theslidesubsection}%
- {\Hy@slidetitle}%
- {slideheading.\theHslidesubsection}%
- {2}%
- {toc}%
- \fi
- \else
- \Hy@GlobalStepCount\Hy@linkcounter
- \hyper@@anchor{slideheading.\the\Hy@linkcounter}{\relax}%
- \Hy@writebookmark
- {\theslidesubsection}%
- {\Hy@slidetitle}%
- {slideheading.\the\Hy@linkcounter}%
- {1}%
- {toc}%
- \fi
- }%
- \providecommand*{\listslidename}{List of Slides}%
- \def\listofslides{%
- \section*{%
- \listslidename
- \@mkboth{%
- \expandafter\MakeUppercase\listslidename
- }{%
- \expandafter\MakeUppercase\listslidename
- }%
- }%
- \def\l@slide##1##2##3##4{%
- \slide@undottedcline{%
- \slidenumberline{##3}{\hyperlink{##4}{##2}}%
- }{}%
- }%
- \let\l@subslide\l@slide
- \@startlos
- }%
- \def\slide@contents{%
- \def\l@slide##1##2##3##4{%
- \slide@cline{\slidenumberline{##3}{\hyperlink{##4}{##2}}}{##3}%
- }%
- \let\l@subslide\@gobblefour
- \@startlos
- }%
- \def\Slide@contents{%
- \def\l@slide##1##2##3##4{%
- \ifcase\lslide@flag
- \message{##1 ** \the\c@slidesection}%
- \ifnum##1>\c@slidesection
- \def\lslide@flag{1}%
- {%
- \large
- \slide@cline{%
- \slidenumberline{$\Rightarrow\bullet$}%
- {\hyperlink{##4}{##2}}%
- }{##3}%
- }%
- \else
- {%
- \large
- \slide@cline{%
- \slidenumberline{$\surd\;\bullet$}%
- {\hyperlink{##4}{##2}}%
- }{##3}%
- }%
- \fi
- \or
- \def\lslide@flag{2}%
- {%
- \large
- \slide@cline{%
- \slidenumberline{$\bullet$}%
- {\hyperlink{##4}{##2}}%
- }{##3}%
- }%
- \or
- {%
- \large
- \slide@cline{%
- \slidenumberline{$\bullet$}%
- {\hyperlink{##4}{##2}}%
- }{##3}%
- }%
- \fi
- }%
- \def\l@subslide##1##2##3##4{%
- \ifnum\lslide@flag=1 %
- \@undottedtocline{2}{3.8em}{3.2em}{\hyperlink{##4}{##2}}{}%
- \fi
- }%
- \def\lslide@flag{0}%
- \@startlos
- }%
-}{}
\ifHy@texht
\expandafter\endinput
\fi
diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def
index c90754cc117..547c02782c5 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hypertex.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hyperref driver for HyperTeX specials]
\Hy@VersionCheck{hypertex.def}
\providecommand*{\XR@ext}{dvi}
@@ -223,12 +223,9 @@
}%
}
\let\H@old@part\@part
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname chapter\endcsname\relax
- \let\Hy@secnum@part\z@
-\else
- \let\Hy@secnum@part\m@ne
-\fi
+\@ifundefined{chapter}
+ {\let\Hy@secnum@part\z@}
+ {\let\Hy@secnum@part\m@ne}
\def\@part{%
\ifnum\Hy@secnum@part>\c@secnumdepth
\phantomsection
diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
index 192c9d2acaa..8d51e1614af 100644
--- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
@@ -34,7 +34,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{nohyperref}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Dummy hyperref (SR)]
\RequirePackage{letltxmacro}[2008/06/13]
\let\hyper@@anchor\@gobble
diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def
index f2339e9fbf6..0adc8dc9501 100644
--- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def
+++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{pd1enc.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 044b90ab1ec..12b831ef8de 100644
--- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
+++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{pdfmark.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hyperref definitions for pdfmark specials]
\Hy@VersionCheck{pdfmark.def}
\begingroup
@@ -1297,8 +1297,8 @@
\endgroup
}
\providecommand*{\Fld@pageobjref}{}
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdf@escapestring\endcsname\relax
+\@ifundefined{pdf@escapestring}
+ {%
\let\Hy@escapestring\@firstofone
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
@@ -1329,7 +1329,7 @@
}%
\fi
}%
-\else
+ }{%
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
\let\Hy@escapestring\pdfescapestring
@@ -1338,7 +1338,7 @@
\fi
}%
\Hy@escapeform{}%
-\fi
+ }
\def\PDFForm@Name{%
\PDFForm@@Name\Fld@name
\ifx\Fld@altname\relax
@@ -1940,12 +1940,9 @@
}%
}
\let\H@old@part\@part
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname chapter\endcsname\relax
- \let\Hy@secnum@part\z@
-\else
- \let\Hy@secnum@part\m@ne
-\fi
+\@ifundefined{chapter}
+ {\let\Hy@secnum@part\z@}
+ {\let\Hy@secnum@part\m@ne}
\def\@part{%
\ifnum\Hy@secnum@part>\c@secnumdepth
\phantomsection
diff --git a/Master/texmf-dist/tex/latex/hyperref/psdextra.def b/Master/texmf-dist/tex/latex/hyperref/psdextra.def
index 0dcaabda64e..96b3c7be23a 100644
--- a/Master/texmf-dist/tex/latex/hyperref/psdextra.def
+++ b/Master/texmf-dist/tex/latex/hyperref/psdextra.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{psdextra.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 24b177d8dbd..bd7b71ec75c 100644
--- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def
+++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{puarenc.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 25975995556..f1fa5324254 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 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{puenc-extra.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 69c5d778fbc..b4ee659c0df 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 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{puenc-greekbasic.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 d3538060d0c..67b543ac5bf 100644
--- a/Master/texmf-dist/tex/latex/hyperref/puenc.def
+++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{puenc.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 79f3fce12a6..55ef3f8f6cf 100644
--- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def
+++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{puvnenc.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
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 525fb0330d6..feb4bf60a4d 100644
--- a/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty
@@ -61,7 +61,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xr-hyper}
- [2021-06-07 v7.00m eXternal References (DPC)]
+ [2022-02-21 v7.00n eXternal References (DPC)]
\def\externaldocument{\@testopt\XR@cite{}}
\let\externalcitedocument\externaldocument