summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/plautopatch
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-26 22:03:16 +0000
committerKarl Berry <karl@freefriends.org>2020-11-26 22:03:16 +0000
commit8ce4dd0bee0968eb3ceb60072fccd5b3ba460a0f (patch)
treee44105962b6e7367f443fed6e8aaa7e5f25b56bb /Master/texmf-dist/tex/latex/plautopatch
parent1753b20379a5e27553e490c4f8f2e1c39a0c2a63 (diff)
plautopatch (26nov20)
git-svn-id: svn://tug.org/texlive/trunk@57011 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/plautopatch')
-rw-r--r--Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty2
-rw-r--r--Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty30
2 files changed, 21 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty b/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
index c4eedb446d2..60904f0988f 100644
--- a/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
+++ b/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
@@ -8,7 +8,7 @@
\NeedsTeXFormat{LaTeX2e}% not pLaTeX2e on purpose!
\ProvidesPackage{plautopatch}
- [2020/10/21 v0.9l Automated patches for pLaTeX/upLaTeX]
+ [2020/11/26 v0.9m Automated patches for pLaTeX/upLaTeX]
\ifx\pfmtname\@undefined
\PackageInfo{plautopatch}{%
diff --git a/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty b/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
index a151a194379..38d72273cac 100644
--- a/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
+++ b/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
@@ -9,7 +9,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{pxpgfrcs}
- [2020/10/10 v0.2 shadings etc in tate class]
+ [2020/11/26 v0.3 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''
@@ -26,15 +26,25 @@
% * It is not common for LaTeX users to use
% such an interface like \input pgfutil-platex.def.
-% patch pgfutil-latex.def
+% patch pgfutil-latex.def (based on 2020-11-21 v3.1.7)
\def\pgfutil@insertatbegincurrentpagefrombox#1{%
- \edef\pgf@temp{\the\wd\pgfutil@abb}%
- \global\setbox\pgfutil@abb\hbox{%
- \yoko %%% add \yoko
- \unhbox\pgfutil@abb%
- \hskip-\pgf@temp\relax%
- #1%
- }%
-}%
+ \edef\pgf@temp{\the\wd\pgfutil@abb}%
+ \global\setbox\pgfutil@abb\hbox{%
+ \yoko %%% add \yoko
+ \unhbox\pgfutil@abb%
+ %
+ % the order in which \pgfutil@insertatbegincurrentpagefrombox
+ % matters unless we make the following -shift!
+ % To see this, consider writing two such statements. The second
+ % one will (naturally) be placed more to the right, although there
+ % is no apparent reason why it should.
+ %
+ % CF observed problems when placing patterns in XObjects without
+ % this skip (dvipdfmx driver for pgfplots shader=interp)
+ \hskip\dimexpr\pgfutil@ifl@t@r\fmtversion{2020/10/01}{2in-2\hoffset}{}-\pgf@temp\relax%
+ #1%
+ \pgfutil@ifl@t@r\fmtversion{2020/10/01}{\hskip\dimexpr-2in-2\hoffset\relax}{}%
+ }%
+}
\endinput