diff options
author | Karl Berry <karl@freefriends.org> | 2023-11-09 22:13:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-11-09 22:13:34 +0000 |
commit | 8fda739576093f019df0a4da907b38e7f591a328 (patch) | |
tree | f462c3145f032efe10e98cedd1244734c49d17d8 /Master/texmf-dist/tex/latex/hyperref | |
parent | ebf692e007651e0838fcfdae747d0c13943da249 (diff) |
hyperref (7nov23)
git-svn-id: svn://tug.org/texlive/trunk@68768 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref')
24 files changed, 56 insertions, 56 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index c7ca7fda66a..43ceaa305b2 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdvipdfm.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hyperref driver for dvipdfm] \Hy@VersionCheck{hdvipdfm.def} \special{pdf:majorversion \Hy@pdf@majorversion} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index 78a70ffaddb..245e3faa1a5 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdvips.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 c50650a1e30..058af9d2c8d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdvipson.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 91c4edfabb7..1b9b222d4fc 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hdviwind.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 c9a63f434d0..ed6a7392d93 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hluatex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hluatex.def @@ -34,10 +34,10 @@ %% %% File: hyperref.dtx \ProvidesFile{hluatex.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hyperref driver for luaTeX] \Hy@VersionCheck{hluatex.def} -%% 2023-10-27 v7.01d +%% 2023-11-07 v7.01e %% 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 c54f5cf60fd..912e593dd6b 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hpdftex.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hyperref driver for pdfTeX] \Hy@VersionCheck{hpdftex.def} \pdf@ifdraftmode{% diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index 7b3c194202c..1a585c182d7 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{htex4ht.cfg} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 d4aef56af16..07d386f151a 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{htex4ht.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 f721b7df0be..a0f4da0c92f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htexture.def +++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{htexture.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 f4e5e257066..d2b09a4846f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hvtex.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hyperref driver for VTeX in PDF/PS mode] \Hy@VersionCheck{hvtex.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index 01fcb79ed43..8a210eabdac 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hvtexhtml.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 3e7c2ce8647..03c8a20bbfc 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hvtexmrk.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 f47354d26bd..8c0441e62ab 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hxetex.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hyperref driver for XeTeX] \Hy@VersionCheck{hxetex.def} \HyPsd@LoadUnicode diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index bf1429119f1..dddb2927680 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} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -2075,9 +2075,12 @@ \global\Hy@SavedSpaceFactor=\the\Hy@SavedSpaceFactor\relax }% } +\@ifl@t@r\fmtversion{2023-11-01} + {\NewSocket{hyp/raisedlink}{1}} + {\providecommand\UseSocket[2]{#2}} \def\Hy@raisedlink#1{% \ifvmode - #1% + \UseSocket{hyp/raisedlink}{#1}% \else \Hy@SaveSpaceFactor \penalty\@M @@ -6461,7 +6464,7 @@ \cs_new_protected:Npn \__hyp_target_raise:n #1 { \mode_if_vertical:TF - { #1 } + { \UseSocket{hyp/raisedlink}{#1} } { \Hy@SaveSpaceFactor \penalty\@M @@ -6832,6 +6835,14 @@ \def\@currentHlabel{\@currentHref} \def\hypergetref#1{\getrefbykeydefault{#1}{}{??}} \def\hypergetpageref#1{\getrefbykeydefault{#1}{page}{0}} +\@ifl@t@r\fmtversion{2023-11-01} + { + \AddToHook{package/varwidth/after} + { + \NewSocketPlug{hyp/raisedlink}{varwidth}{\@vwid@wrap{#1}} + \appto\@vwid@setup{\AssignSocketPlug{hyp/raisedlink}{varwidth}} + } + }{} \@ifpackageloaded{titlesec}{% \def\ttl@Hy@steplink#1{% \Hy@MakeCurrentHrefAuto{#1*}% @@ -6865,21 +6876,6 @@ \let\Hy@raisedlink\ttl@b }% }{} -\@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}{% \@ifundefined{hyper@nopatch@longtable}{% \begingroup @@ -7018,29 +7014,33 @@ \H@refstepcounter{#1}% \hyper@makecurrent{#1}% \global\let\Hy@dth@currentHref\@currentHref + \Hy@theorem@makelinktarget{\Hy@dth@currentHref}% + } +\newcommand\Hy@theorem@makelinktarget[1] + { \AddToHookNext{cmd/item/before} {\AddToHookNext{para/begin} {\let\Hy@tempa\@currentHref - \MakeLinkTarget*{\Hy@dth@currentHref}% + \MakeLinkTarget*{#1}% \Hy@dth@currentHref \global\let\@currentHref\Hy@tempa }% }% - } -\AddToHook{package/amsthm/after} - { - \renewcommand\Hy@theorem@refstepcounter[1] + } +\AddToHook{begindocument} + {% + \@ifundefined{deferred@thm@head}{} {% - \H@refstepcounter{#1}% - \hyper@makecurrent{#1}% - \global\let\Hy@dth@currentHref\@currentHref - \AddToHookNext{cmd/deferred@thm@head/before} - {\AddToHookNext{para/begin} - {\let\Hy@tempa\@currentHref - \MakeLinkTarget*{\Hy@dth@currentHref}% - \global\let\@currentHref\Hy@tempa + \renewcommand\Hy@theorem@makelinktarget[1] + {% + \AddToHookNext{cmd/deferred@thm@head/before} + {\AddToHookNext{para/begin} + {\let\Hy@tempa\@currentHref + \MakeLinkTarget*{#1}% + \global\let\@currentHref\Hy@tempa + }% }% }% - } + }% } \@ifundefined{hyper@nopatch@thm}{% \AtBeginDocument{% diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index bd30d49b828..69dede66dec 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{hypertex.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hyperref driver for HyperTeX specials] \Hy@VersionCheck{hypertex.def} \providecommand*{\XR@ext}{dvi} diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index b4ef0e460b2..642e1308ac3 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty @@ -34,7 +34,7 @@ %% File: hyperref.dtx \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{nohyperref} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 09ce44b38e7..ad043e200cc 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def +++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{pd1enc.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 b74ee757a28..385dae07f5c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{pdfmark.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hyperref definitions for pdfmark specials] \Hy@VersionCheck{pdfmark.def} \begingroup diff --git a/Master/texmf-dist/tex/latex/hyperref/psdextra.def b/Master/texmf-dist/tex/latex/hyperref/psdextra.def index 9e37468a867..4e6d7e96638 100644 --- a/Master/texmf-dist/tex/latex/hyperref/psdextra.def +++ b/Master/texmf-dist/tex/latex/hyperref/psdextra.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{psdextra.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hyperref: Additions to PDF string support] \Hy@VersionCheck{psdextra.def} \DeclareTextCommand{\textGamma}{PU}{\83\223}%* U+0393 diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index 0b450e13c1a..3399c3e84ee 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puarenc.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 7c1bf0b2f1b..19127458c36 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc-extra.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puenc-extra.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % Hyperref: PDF Unicode extra definition (HO)] \DeclareTextCommand{\G}{PU}[1]{#1\83\017}% U+030F \DeclareTextCompositeCommand{\G}{PU}{\@empty}{\textdoublegrave}% diff --git a/Master/texmf-dist/tex/latex/hyperref/puenc.def b/Master/texmf-dist/tex/latex/hyperref/puenc.def index a80e2ddcd84..80a83d6f4d4 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puenc.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 05f468afe6a..223c5835872 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def @@ -33,7 +33,7 @@ %% %% File: hyperref.dtx \ProvidesFile{puvnenc.def} - [2023-10-27 v7.01d % + [2023-11-07 v7.01e % 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 4fe22f0e44a..929f1d8cdd6 100644 --- a/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty +++ b/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty @@ -57,7 +57,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xr-hyper} - [2023-10-27 v7.01d eXternal References (DPC)] + [2023-11-07 v7.01e eXternal References (DPC)] \def\externaldocument{\@testopt\XR@cite{}} \let\externalcitedocument\externaldocument |