summaryrefslogtreecommitdiff
path: root/language/japanese/plautopatch/pxpgfrcs.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-10-15 03:00:58 +0000
committerNorbert Preining <norbert@preining.info>2020-10-15 03:00:58 +0000
commitff1e02dbf9c33ee832d7f0cb39a42648b376c9c5 (patch)
treea42fe5db4e9016144fdea322aff808927deeccd6 /language/japanese/plautopatch/pxpgfrcs.sty
parent3a5a864b265cf29d47d0821fb7f03745f99b97d9 (diff)
CTAN sync 202010150300
Diffstat (limited to 'language/japanese/plautopatch/pxpgfrcs.sty')
-rw-r--r--language/japanese/plautopatch/pxpgfrcs.sty12
1 files changed, 9 insertions, 3 deletions
diff --git a/language/japanese/plautopatch/pxpgfrcs.sty b/language/japanese/plautopatch/pxpgfrcs.sty
index b5508dcf47..a151a19437 100644
--- a/language/japanese/plautopatch/pxpgfrcs.sty
+++ b/language/japanese/plautopatch/pxpgfrcs.sty
@@ -9,8 +9,15 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{pxpgfrcs}
- [2018/09/21 v0.1 shadings etc in tate class]
-\RequirePackage{pgfrcs}
+ [2020/10/10 v0.2 shadings etc in tate class]
+\RequirePackage{pgfrcs}% pgfutil-latex.def requires everyshi
+\ifx\@EveryShipout@Output\@undefined
+ % LaTeX2e 2020-10-01: an emulation by ``everyshi-ltx.sty''
+ % => pLaTeX2e 2020-10-01 natively supports it
+\else
+ % older: the real ``everyshi.sty'' is loaded
+ \IfFileExists{pxeveryshi.sty}{\RequirePackage{pxeveryshi}}{}
+\fi
% Note: I chose the name "pxpgfrcs.sty"
% (instead of "pgfutil-platex.def") because
@@ -20,7 +27,6 @@
% such an interface like \input pgfutil-platex.def.
% patch pgfutil-latex.def
-\RequirePackage{pxeveryshi}% pgfutil-latex.def requires everyshi
\def\pgfutil@insertatbegincurrentpagefrombox#1{%
\edef\pgf@temp{\the\wd\pgfutil@abb}%
\global\setbox\pgfutil@abb\hbox{%