summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-16 21:00:13 +0000
committerKarl Berry <karl@freefriends.org>2022-03-16 21:00:13 +0000
commit0d8e2586327cc5039b02ba5e1b163a4c0ea9415b (patch)
tree7e7445d370157c3eb543aed0c5879cde93fa3933 /Master/texmf-dist/tex/platex
parent4b99df30aaae8bf71d4da4ba014a565e9a14b810 (diff)
pxjahyper (16mar22)
git-svn-id: svn://tug.org/texlive/trunk@62736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r--Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def4
-rw-r--r--Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty4
-rw-r--r--Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def4
-rw-r--r--Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty28
4 files changed, 24 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def
index cb8cbd28af4..f4f0f427e21 100644
--- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def
+++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjahyper-ajm.def'.
%%
-%% Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2012-2022 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -11,7 +11,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesFile{pxjahyper-ajm.def}[2021/06/06 v0.9c]
+\ProvidesFile{pxjahyper-ajm.def}[2022/03/15 v0.9d]
%% avoid multiple loading
\csname pxjahyperajmLoaded\endcsname
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty
index f51dc75e783..1e2ae71bb52 100644
--- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty
+++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjahyper-enc.sty'.
%%
-%% Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2012-2022 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjahyper-enc}[2021/06/06 v0.9c]
+\ProvidesPackage{pxjahyper-enc}[2022/03/15 v0.9d]
\def\pxhe@pkgname{pxjahyper-enc}
\providecommand{\bxDebug}[1]{}
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def
index c05b0369f7d..0b1019fbb98 100644
--- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def
+++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjahyper-uni.def'.
%%
-%% Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2012-2022 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesFile{pxjahyper-uni.def}[2021/06/06 v0.9c]
+\ProvidesFile{pxjahyper-uni.def}[2022/03/15 v0.9d]
\providecommand{\bxDebug}[1]{}
%--------------------------------------- environment check
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty
index 486792b8d7e..47a913f8ee8 100644
--- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty
+++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjahyper.sty'.
%%
-%% Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2012-2022 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjahyper}[2021/06/06 v0.9c]
+\ProvidesPackage{pxjahyper}[2022/03/15 v0.9d]
\def\pxhy@pkgname{pxjahyper}
\providecommand{\bxDebug}[1]{}
@@ -31,7 +31,7 @@
\newif\ifpxhy@uptex
\newif\ifpxhy@etex
\newif\ifpxhy@etoolbox
-\newif\ifpxhy@new@hook@system
+\chardef\pxhy@hook@system=0
\newif\ifpxhy@tounicode
\newif\ifpxhy@uniescape
\newif\ifpxhy@bigcode
@@ -208,7 +208,11 @@
\fi
%% Check for the new hook system.
-\@ifl@t@r\fmtversion{2020/10/01}{\pxhy@new@hook@systemtrue}{}
+\@ifl@t@r\fmtversion{2021/11/15}{%
+ \chardef\pxhy@hook@system=2
+}{\@ifl@t@r\fmtversion{2020/02/02}{%
+ \chardef\pxhy@hook@system=1
+}{}}
%% adjustment
% upTeX not in unicode is not seen as upTeX.
@@ -280,7 +284,7 @@ pxhy@ptex = \ifpxhy@ptex true\else false\fi^^J%
pxhy@uptex = \ifpxhy@uptex true\else false\fi^^J%
pxhy@etex = \ifpxhy@etex true\else false\fi^^J%
pxhy@etoolbox = \ifpxhy@etoolbox true\else false\fi^^J%
-pxhy@new@hook@system = \ifpxhy@new@hook@system true\else false\fi^^J%
+pxhy@hook@system = \the\pxhy@hook@system^^J%
ifpxhy@hy@unicode = \ifpxhy@hy@unicode true\else false\fi^^J%
pxhy@bigcode = \ifpxhy@bigcode true\else false\fi^^J%
pxhy@driver = \the\pxhy@driver^^J%
@@ -298,7 +302,7 @@ pxhy@textcmd = \ifpxhy@textcmd true\else false\fi^^J%
\let\pxhy@mk\indent % unexpandable
%% \pxhy@begin@dvi@hook{<text>}
-\ifpxhy@new@hook@system
+\ifnum\pxhy@hook@system>0
\def\pxhy@begin@dvi@hook#1{%
\AddToHook{shipout/firstpage}{#1}%
}
@@ -335,13 +339,17 @@ pxhy@textcmd = \ifpxhy@textcmd true\else false\fi^^J%
%% \pxhy@hook@after@package{<package-name>}{<code>}
\@onlypreamble\pxhy@hook@after@package
\def\pxhy@hook@after@package#1#2{%
- \ifpxhy@new@hook@system
+ \ifcase\pxhy@hook@system
+ \AtBeginDocument{%
+ \@ifpackageloaded{#1}{#2}{}%
+ }%
+ \or
\@ifpackageloaded{#1}{#2}{%
\AddToHook{package/after/#1}{#2}%
}%
- \else
- \AtBeginDocument{%
- \@ifpackageloaded{#1}{#2}{}%
+ \or
+ \@ifpackageloaded{#1}{#2}{%
+ \AddToHook{package/#1/after}{#2}%
}%
\fi
}