diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-27 21:26:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-27 21:26:48 +0000 |
commit | f7a5fce4f1f54626e099adbbfc80dcf92745b4de (patch) | |
tree | 17daf865bb9b29c52c1a4756e3146d45ce27bdb7 /Master/texmf-dist/tex/platex | |
parent | d6491c6ee0bd7716c5f337ebd577c4964dc43c0c (diff) |
pxjahyper (27sep20)
git-svn-id: svn://tug.org/texlive/trunk@56453 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r-- | Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def index 288f3209975..48b6e14216d 100644 --- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def +++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def @@ -11,7 +11,7 @@ %% package declaration \NeedsTeXFormat{pLaTeX2e} -\ProvidesFile{pxjahyper-ajm.def}[2020/06/13 v0.5] +\ProvidesFile{pxjahyper-ajm.def}[2020/09/27 v0.5a] %% avoid multiple loading \csname pxjahyperajmLoaded\endcsname diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty index 4d83b2a3517..120cc9697e1 100644 --- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty +++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty @@ -10,7 +10,7 @@ %% package declaration \NeedsTeXFormat{pLaTeX2e} -\ProvidesPackage{pxjahyper}[2020/06/13 v0.5] +\ProvidesPackage{pxjahyper}[2020/09/27 v0.5a] %% error messages \def\pxhy@pkgname{pxjahyper} @@ -246,6 +246,7 @@ pxhy@driver = \the\pxhy@driver^^J% \let\pxhy@mk\indent % unexpandable %% \pxhy@out@special{<text>} +\ifx\AddToHook\@undefined %------- without hook system \def\pxhy@out@special#1{% \begingroup \toks\z@{\special{#1}}% @@ -253,6 +254,13 @@ pxhy@driver = \the\pxhy@driver^^J% \xdef\AtBegShi@HookFirst{\the\toks@\the\toks\tw@}% \endgroup } +\else %------- with hook system +\def\pxhy@out@special#1{% + \AddToHook{shipout/firstpage}[./urgent]{\special{#1}}% +} +\DeclareHookRule{shipout/firstpage}{./urgent}{<}{hyperref} +\DeclareHookRule{shipout/firstpage}{.}{>}{hyperref} +\fi %% \pxhy@get@jchar{<num>} % Let \pxhy@jchar a macro expanding to a single jchar token |