diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-27 21:26:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-27 21:26:18 +0000 |
commit | 7e94d861f2b24f29d8fad18a7160e8f3644fe2ea (patch) | |
tree | 9e7115ac3ddea9d8ceeefa9fa756d9830a238dd8 /Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty | |
parent | 60c5efe1179c406d85732f66ddc53fef461a1464 (diff) |
platex-tools (27sep20)
git-svn-id: svn://tug.org/texlive/trunk@56451 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty b/Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty index bbe8c49ac3f..3c8a8304154 100644 --- a/Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty +++ b/Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty @@ -18,13 +18,19 @@ % the original code (2018/09/21 v0.3), which was largely based on % H. Kitagawa's on GitHub:texjporg/tex-jp-build#21. % -- concept: execute all hooks inside yoko direction \vbox -% -------------------------------------------------- +% +% Update: version 2020/09/09 v0.6 supports LaTeX2e 2020-10-01 +% based on a method proposed by H. Kitagawa in lltjp-atbegshi.sty. +% +% Update: version 2020/09/25 v0.7 does nothing, since +% pLaTeX2e 2020-10-01 will support the situation natively. +% -------------------------------------------------------------------- % %% package declaration \NeedsTeXFormat{pLaTeX2e} \ProvidesPackage{pxatbegshi} - [2019/09/07 v0.5 Patch to atbegshi for (u)pLaTeX] + [2020/09/25 v0.7 Patch to atbegshi for (u)pLaTeX] %% preparations \def\pxabgs@pkgname{pxatbegshi} @@ -33,6 +39,20 @@ %% load it \RequirePackage{atbegshi} +%% Since LaTeX2e 2020-10-01, atbegshi.sty is merely +%% an emulation by atbegshi-ltx.sty from ltshipout.dtx. +%% The new code does NOT define \AtBegShi@Output, +%% so we can detect it! + +\ifx\AtBegShi@Output\@undefined + %% pLaTeX2e 2020-10-01 natively supports the situation + \PackageInfo{pxatbegshi}{This package is no longer needed} + \expandafter\endinput +\fi + +%% The rest of this package is meant for +%% LaTeX2e 2020-02-02 PL5 or older. + %% internal macros are locally effective \begingroup @@ -56,8 +76,6 @@ %--------------------------------------- -% concept: execute all hooks inside yoko direction \vbox - % prepare \let\pxabgs@AtBegShi@Output\AtBegShi@Output % try first patch |