summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-09-23 20:44:10 +0000
committerKarl Berry <karl@freefriends.org>2022-09-23 20:44:10 +0000
commit588eb7dcbde9a8731ec174e8757671f7c1a506a1 (patch)
tree3fa21412256bb317d075c5412e4b7923c9bfca45 /Master/texmf-dist/tex/latex/hyperref/hyperref.sty
parent2c506ca596e9c8598802c0f25e00dc264d770d83 (diff)
hyperref (23sep22)
git-svn-id: svn://tug.org/texlive/trunk@64488 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref.sty23
1 files changed, 9 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
index d2633ce051c..f4259a97cae 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
@@ -36,7 +36,7 @@
%% File: hyperref.dtx
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesPackage{hyperref}
- [2022-06-20 v7.00s %
+ [2022-09-22 v7.00t %
Hypertext links for LaTeX]
\begingroup
\@makeother\`%
@@ -3978,7 +3978,7 @@
\def\HyperDestNameFilter#1{#1}
\Hy@AtBeginDocument{%
\begingroup
- \edef\x{\@ifundefined{stockheight}\paperheight\stockheight}%
+ \edef\x{\ifdim\stockheight>\z@ \stockheight\else\paperheight\fi}%
\dimen@=\x\relax
\ifdim\dimen@>\z@
\else
@@ -4207,6 +4207,8 @@
}%
\fi
\Hy@DisableOption{implicit}
+\@ifundefined{stockwidth}{\newdimen\stockwidth}{}
+\@ifundefined{stockheight}{\newdimen\stockheight}{}
\Hy@AtEndOfPackage{%
\@ifpackageloaded{tex4ht}{%
\def\Hy@driver{htex4ht}%
@@ -5161,9 +5163,10 @@
\let\HyperDestRename\ltx@gobbletwo
\fi
\Hy@DisableOption{destlabel}
-\AddLineBeginAux{%
- \string\providecommand\string\hyper@newdestlabel[2]{}%
-}
+\AddToHook{include/before}
+ {\immediate\write\@partaux{\string\providecommand\string\hyper@newdestlabel[2]{}}}
+\AddToHook{begindocument}
+ {\immediate\write\@mainaux{\string\providecommand\string\hyper@newdestlabel[2]{}}}
\RequirePackage{bitset}
\def\HyField@NewFlag#1#2{%
\lowercase{\HyField@NewOption{#2}}%
@@ -8286,15 +8289,7 @@
\fi
\fi
}
-\@ifpackageloaded{showkeys}{%
- \HyRef@ShowKeysInit
-}{%
- \Hy@AtBeginDocument{%
- \@ifpackageloaded{showkeys}{%
- \HyRef@ShowKeysInit
- }{}%
- }%
-}
+\AddToHook{package/showkeys/after}{\HyRef@ShowKeysInit}
\providecommand*\AMSautorefname{\equationautorefname}
\providecommand*\Hfootnoteautorefname{\footnoteautorefname}
\providecommand*\Itemautorefname{\itemautorefname}