summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-10-27 21:38:32 +0000
committerKarl Berry <karl@freefriends.org>2018-10-27 21:38:32 +0000
commit57d9620a275079e25e21b8b157f4749279511d20 (patch)
tree6b11ac580449556e5a9ecbd6026427a47b3d26cf
parent6df926635bbb5c83ac397a664723cbcbe4eb3237 (diff)
platex-tools (27oct18)
git-svn-id: svn://tug.org/texlive/trunk@49002 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/platex-tools/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/platex-tools/plarray.pdfbin61348 -> 66352 bytes
-rw-r--r--Master/texmf-dist/doc/latex/platex-tools/plextarray.pdfbin86879 -> 92346 bytes
-rw-r--r--Master/texmf-dist/doc/latex/platex-tools/pxeverysel.pdfbin47042 -> 58862 bytes
-rw-r--r--Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex11
-rw-r--r--Master/texmf-dist/tex/latex/platex-tools/plarray.sty10
-rw-r--r--Master/texmf-dist/tex/latex/platex-tools/plextarray.sty6
-rw-r--r--Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty26
8 files changed, 38 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/platex-tools/README.md b/Master/texmf-dist/doc/latex/platex-tools/README.md
index f39ac340072..632addc8a50 100644
--- a/Master/texmf-dist/doc/latex/platex-tools/README.md
+++ b/Master/texmf-dist/doc/latex/platex-tools/README.md
@@ -74,6 +74,6 @@ the 3-clause BSD license (see [LICENSE](./LICENSE)).
## Release Date
-2018-09-21
+2018-10-27
Hironobu Yamashita
diff --git a/Master/texmf-dist/doc/latex/platex-tools/plarray.pdf b/Master/texmf-dist/doc/latex/platex-tools/plarray.pdf
index 4f706b73c9a..dfa0afcbf72 100644
--- a/Master/texmf-dist/doc/latex/platex-tools/plarray.pdf
+++ b/Master/texmf-dist/doc/latex/platex-tools/plarray.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/platex-tools/plextarray.pdf b/Master/texmf-dist/doc/latex/platex-tools/plextarray.pdf
index f62132a5cb7..6ebd30fceee 100644
--- a/Master/texmf-dist/doc/latex/platex-tools/plextarray.pdf
+++ b/Master/texmf-dist/doc/latex/platex-tools/plextarray.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.pdf b/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.pdf
index 03973d58492..2c9cea486f6 100644
--- a/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.pdf
+++ b/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex b/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex
index a2f268a6bc5..ef209a03796 100644
--- a/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex
+++ b/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex
@@ -32,13 +32,18 @@ Martin Schr\"oder氏による\textsf{everysel}パッケージをp\LaTeX で
使用すると、日本語の文字サイズが変わらなくなったり、
\textsf{otf}パッケージで文字化けが起こったりします。
これは、\pLaTeX カーネルが日本語用に再定義している\verb+\selectfont+が、
-\textsf{everysel}によって書き換えられてしまうためです。この\textsf{pxeverysel}パッケージを読み込むことで、p\LaTeX でも
+\textsf{everysel}によって書き換えられてしまうためです。
+この\textsf{pxeverysel}パッケージを読み込むことで、p\LaTeX でも
\textsf{everysel}パッケージを使えるようになります。
使いかたは、\textsf{everysel}パッケージの代わりに、あるいは
\textsf{everysel}パッケージに追加して、\textsf{pxeverysel}パッケージを
-読みこむだけです。\textsf{everysel}を内部で読み込んでいる
-\textsf{ragged2e}を例に示します:
+読み込むだけです\footnote{稀に\\\texttt{%
+!\ Package pxeverysel Error:\ Patch too late!\\
+(pxeverysel)\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Load pxeverysel earlier.%
+}\\というエラーが出ることがあります。この場合は、
+\textsf{pxeverysel}パッケージを少し早めに読み込んでみてください。}。
+\textsf{everysel}を内部で読み込んでいる\textsf{ragged2e}を例に示します:
\begin{verbatim}
\documentclass[a4paper]{jsarticle}
\usepackage{ragged2e}% 読み込むだけでアウト
diff --git a/Master/texmf-dist/tex/latex/platex-tools/plarray.sty b/Master/texmf-dist/tex/latex/platex-tools/plarray.sty
index 4dd658f2cf6..111592705e2 100644
--- a/Master/texmf-dist/tex/latex/platex-tools/plarray.sty
+++ b/Master/texmf-dist/tex/latex/platex-tools/plarray.sty
@@ -14,15 +14,13 @@
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{plarray}
- [2018/09/20 v0.1g Tabular extension package for pLaTeX/upLaTeX]
+ [2018/10/27 v0.1h Tabular extension package for pLaTeX/upLaTeX]
\RequirePackage{array}
%% patching internal code for array.sty
%
%% remove extra \xkanjiskip (pLaTeX2e 2016/04/17)
-\@ifl@t@r{\pfmtversion}{2016/04/17}
- {\expandafter\@firstofone}
- {\expandafter\@gobble}
+\@ifl@t@r{\pfmtversion}{2016/04/17}{\@firstofone}{\@gobble}
{% = for pLaTeX2e 2016/04/17 or newer
\def\@tabular{%
\leavevmode \null
@@ -34,9 +32,7 @@
}% =
%
%% inhibit JFM glue around tabular cell components (pLaTeX2e 2018/03/09)
-\@ifl@t@r{\pfmtversion}{2017/07/29}
- {\expandafter\@firstofone}
- {\expandafter\@gobble}
+\@ifl@t@r{\pfmtversion}{2017/07/29}{\@firstofone}{\@gobble}
{% = for pLaTeX2e 2017/07/29 or newer
% first, provide old definition; there are some known incompatibility
% compared to LaTeX, pLaTeX or array
diff --git a/Master/texmf-dist/tex/latex/platex-tools/plextarray.sty b/Master/texmf-dist/tex/latex/platex-tools/plextarray.sty
index 3e1f3c207c6..ee08eb0bbd7 100644
--- a/Master/texmf-dist/tex/latex/platex-tools/plextarray.sty
+++ b/Master/texmf-dist/tex/latex/platex-tools/plextarray.sty
@@ -15,7 +15,7 @@
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{plextarray}
- [2018/09/20 v1.1c Tabular extension package for plext and array]
+ [2018/10/27 v1.1d Tabular extension package for plext and array]
\RequirePackage{plext}
\RequirePackage{plarray}
@@ -36,9 +36,7 @@
%% patching internal code for array.sty and plext.sty
%
-\@ifpackagelater{array}{2018/09/13}
- {\expandafter\@firstoftwo}
- {\expandafter\@secondoftwo}
+\@ifpackagelater{array}{2018/09/13}{\@firstoftwo}{\@secondoftwo}
{% = for 2018/09/13 v2.4i or newer
\def\@startpbox#1{\bgroup
\color@begingroup
diff --git a/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty b/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty
index c18b6f3bdf5..447f42876f2 100644
--- a/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty
+++ b/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty
@@ -12,16 +12,37 @@
%% package declaration
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pxeverysel}
- [2017/03/02 v0.6 Patch to everysel for (u)pLaTeX]
+ [2018/10/27 v0.8 Patch to everysel for (u)pLaTeX]
%% previous code for ctex support has been removed in v0.5,
%% as ctex has depended on pxeverysel since 2016/12/27 v2.4.7
+%% in case it's too late ...
+\@ifpackageloaded{everysel}{%
+ % everysel.sty removes \@EverySelectfont@Init once it is used
+ \ifx\@EverySelectfont@Init\undefined
+ \PackageError{pxeverysel}{%
+ Patch too late!\MessageBreak
+ Load pxeverysel earlier}\@ehc
+}{}
+
%% preparations
\def\pxys@pkgname{pxeverysel}
\def\pxys@warn{\PackageWarningNoLine\pxys@pkgname}
-%% load it
+%% load it, but ensure that \@EverySelectfont@Init is not executed
+% [Note] everysel.sty contains
+% \AtBeginDocument{\@EverySelectfont@Init}
+% at the end. In most cases, the execution is actually delayed;
+% however,
+% \AtBeginDocument{everysel} (e.g. found in sidecap.sty)
+% can execute it immediately. In this case, delay it until the
+% end of pxeverysel.sty.
+\ifx\AtBeginDocument\@firstofone
+ \def\pxys@begindocumenthook{\let\AtBeginDocument\@firstofone}
+ \def\AtBeginDocument{\g@addto@macro\pxys@begindocumenthook}
+ \AtEndOfPackage{\pxys@begindocumenthook}
+\fi
\RequirePackage{everysel}
%% support for (u)pLaTeX font tracing
@@ -141,5 +162,6 @@
\expandafter\let\csname selectfont \endcsname\pxys@selectfont}
%--------------------------------------- done
+
\endinput
%% EOF