summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-14 21:43:07 +0000
committerKarl Berry <karl@freefriends.org>2020-10-14 21:43:07 +0000
commite459b11c06a0dee213069a0129a18e77755ca167 (patch)
tree5cdf4ebd667db2568594cc37ac8c14788467cf51 /Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
parentcfa3f4658baf956718e3ecf7377e417b2797a723 (diff)
plautopatch (14oct20)
git-svn-id: svn://tug.org/texlive/trunk@56657 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty')
-rw-r--r--Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty b/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
index b5508dcf476..a151a194379 100644
--- a/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
+++ b/Master/texmf-dist/tex/latex/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{%