summaryrefslogtreecommitdiff
path: root/language/japanese/plautopatch
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-11-27 03:02:22 +0000
committerNorbert Preining <norbert@preining.info>2020-11-27 03:02:22 +0000
commit5fab5fddb47ba1503acd9d37d1db7b340ed971af (patch)
treeaae79210fb3409d09705b7bdc201f7145fde0525 /language/japanese/plautopatch
parent9b2936e52e60fc97ac4603c4f2e6a1296e1b9e6c (diff)
CTAN sync 202011270302
Diffstat (limited to 'language/japanese/plautopatch')
-rw-r--r--language/japanese/plautopatch/README.md10
-rw-r--r--language/japanese/plautopatch/plautopatch-ja.pdfbin88913 -> 89899 bytes
-rw-r--r--language/japanese/plautopatch/plautopatch-ja.tex1
-rw-r--r--language/japanese/plautopatch/plautopatch.pdfbin36765 -> 37003 bytes
-rw-r--r--language/japanese/plautopatch/plautopatch.sty2
-rw-r--r--language/japanese/plautopatch/plautopatch.tex1
-rw-r--r--language/japanese/plautopatch/pxpgfrcs.sty30
7 files changed, 30 insertions, 14 deletions
diff --git a/language/japanese/plautopatch/README.md b/language/japanese/plautopatch/README.md
index 8fa66e938c..5a4caf13dd 100644
--- a/language/japanese/plautopatch/README.md
+++ b/language/japanese/plautopatch/README.md
@@ -42,8 +42,12 @@ The following patches are currently registered:
## Requirements
-This package depends on "filehook" package,
-written by Martin Scharrer.
+If LaTeX2e 2020-10-01 or newer is running,
+this package uses the new hook system such as
+`\AddToHook{package/before/...}` and
+`\AddToHook{package/after/...}`.
+If LaTeX2e is older than that, this package depends on
+`filehook` package (written by Martin Scharrer).
## Miscellaneous
@@ -90,6 +94,6 @@ the 3-clause BSD license (see [LICENSE](./LICENSE)).
## Release Date
-2020-10-21
+2020-11-26
Hironobu Yamashita
diff --git a/language/japanese/plautopatch/plautopatch-ja.pdf b/language/japanese/plautopatch/plautopatch-ja.pdf
index cf284b273e..11f173810f 100644
--- a/language/japanese/plautopatch/plautopatch-ja.pdf
+++ b/language/japanese/plautopatch/plautopatch-ja.pdf
Binary files differ
diff --git a/language/japanese/plautopatch/plautopatch-ja.tex b/language/japanese/plautopatch/plautopatch-ja.tex
index f40bf18c82..2d8840c8fa 100644
--- a/language/japanese/plautopatch/plautopatch-ja.tex
+++ b/language/japanese/plautopatch/plautopatch-ja.tex
@@ -174,6 +174,7 @@ p\LaTeX/up\LaTeX{}で動作するソースと通常の\LaTeX{}ソースの
\item 2020/09/27 v0.9j \textsf{eso-pic}のサポート(要\LaTeXe~2020-10-01)
\item 2020/10/14 v0.9k トンボ関連パッチを\textsf{gentombow}へ移動
\item 2020/10/21 v0.9l \verb+\plautopatchdisable+が機能しなかったバグを修正
+ \item 2020/11/26 v0.9m \textsf{pgf}最新版に追随
\end{itemize}
\end{document}
diff --git a/language/japanese/plautopatch/plautopatch.pdf b/language/japanese/plautopatch/plautopatch.pdf
index 7cdccd72f7..01a0d55646 100644
--- a/language/japanese/plautopatch/plautopatch.pdf
+++ b/language/japanese/plautopatch/plautopatch.pdf
Binary files differ
diff --git a/language/japanese/plautopatch/plautopatch.sty b/language/japanese/plautopatch/plautopatch.sty
index c4eedb446d..60904f0988 100644
--- a/language/japanese/plautopatch/plautopatch.sty
+++ b/language/japanese/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/language/japanese/plautopatch/plautopatch.tex b/language/japanese/plautopatch/plautopatch.tex
index 4b8a936beb..0714e80b42 100644
--- a/language/japanese/plautopatch/plautopatch.tex
+++ b/language/japanese/plautopatch/plautopatch.tex
@@ -176,6 +176,7 @@ a comma-separated list of them:
\item 2020/09/27 v0.9j Add support for \textsf{eso-pic} (\LaTeXe~2020-10-01 required)
\item 2020/10/14 v0.9k Move tombow-related patches to \textsf{gentombow}
\item 2020/10/21 v0.9l Bug fix for \verb+\plautopatchdisable+
+ \item 2020/11/26 v0.9m Adapt to latest \textsf{pgf}
\end{itemize}
\end{document}
diff --git a/language/japanese/plautopatch/pxpgfrcs.sty b/language/japanese/plautopatch/pxpgfrcs.sty
index a151a19437..38d72273ca 100644
--- a/language/japanese/plautopatch/pxpgfrcs.sty
+++ b/language/japanese/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