summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-27 21:26:18 +0000
committerKarl Berry <karl@freefriends.org>2020-09-27 21:26:18 +0000
commit7e94d861f2b24f29d8fad18a7160e8f3644fe2ea (patch)
tree9e7115ac3ddea9d8ceeefa9fa756d9830a238dd8 /Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty
parent60c5efe1179c406d85732f66ddc53fef461a1464 (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/pxeveryshi.sty')
-rw-r--r--Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty29
1 files changed, 25 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty b/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty
index 8a534095d96..23bbd8abe0e 100644
--- a/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty
+++ b/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty
@@ -1,18 +1,39 @@
%
% pxeveryshi.sty
-% written by Takayuki Yato (ZR)
+% originally written by Takayuki Yato (ZR)
+% and modified by Hironobu Yamashita
%
% This package is distributed as part of the platex-tools bundle
% maintained by Hironobu Yamashita
% by courtesy of the original author.
% https://github.com/aminophen/platex-tools
%
+% --------------------------------------------------------------------
+% [Note]
+% Update: version 2020/09/25 v0.2 does nothing, since
+% pLaTeX2e 2020-10-01 will support the situation natively.
+% --------------------------------------------------------------------
+%
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{pxeveryshi}
- [2012/05/19 v0.1 everyshi package for pLaTeX]
+ [2020/09/25 v0.2 everyshi package for pLaTeX]
\RequirePackageWithOptions{everyshi}
-%
+
+%% Since LaTeX2e 2020-10-01, everyshi.sty is merely
+%% an emulation by everyshi-ltx.sty from ltshipout.dtx.
+%% The new code does NOT define \@EveryShipout@Output,
+%% so we can detect it!
+
+\ifx\@EveryShipout@Output\@undefined
+ %% pLaTeX2e 2020-10-01 natively supports the situation
+ \PackageInfo{pxeveryshi}{This package is no longer needed}
+ \expandafter\endinput
+\fi
+
+%% The rest of this package is meant for
+%% LaTeX2e 2020-02-02 PL5 or older.
+
\def\@EveryShipout@Output{%
\setbox8\vbox{%
\yoko
@@ -23,6 +44,6 @@
\gdef\@EveryShipout@AtNextHook{}%
\@EveryShipout@Org@Shipout\box\@cclv
}
-%
+
\endinput
%% EOF