texlive[48723] Master/texmf-dist: plautopatch (21sep18)
commits+karl at tug.org
commits+karl at tug.org
Fri Sep 21 23:07:02 CEST 2018
Revision: 48723
http://tug.org/svn/texlive?view=revision&revision=48723
Author: karl
Date: 2018-09-21 23:07:02 +0200 (Fri, 21 Sep 2018)
Log Message:
-----------
plautopatch (21sep18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/plautopatch/README.md
trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.pdf
trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.tex
trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.pdf
trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.tex
trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
trunk/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty
trunk/Master/texmf-dist/tex/latex/plautopatch/plextcolortbl.sty
trunk/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/plautopatch/README.md 2018-09-21 21:06:46 UTC (rev 48722)
+++ trunk/Master/texmf-dist/doc/latex/plautopatch/README.md 2018-09-21 21:07:02 UTC (rev 48723)
@@ -11,7 +11,7 @@
whenever necessary.
This helps not only to simplify source files, but also
to make the appearance of working pLaTeX/upLaTeX sources
-similar to those of ordinally LaTeX ones.
+similar to those of ordinary LaTeX ones.
The following patches are currently registered:
@@ -20,11 +20,14 @@
- array (latex-tools) -> plarray (platex-tools)
- array (latex-tools) + plext (platex) -> plextarray (platex-tools)
- delarray (latex-tools) + plext (platex) -> plextdelarray (platex-tools)
+- colortbl + plext (platex) -> plextcolortbl (maintained here!)
- everysel (ms) -> pxeverysel (platex-tools)
- everyshi (ms) -> pxeveryshi (platex-tools)
- atbegshi (oberdiek) -> pxatbegshi (platex-tools)
- ftnright (latex-tools) -> pxftnright (platex-tools)
- pdfpages -> pxpdfpages (maintained here!)
+- pgfrcs (pgf) -> pxpgfrcs (maintained here!)
+- pgfcore (pgf) -> pxpgfmark (by Takayuki YATO)
## Requirements
@@ -36,10 +39,18 @@
This bundle may distribute some tiny patches
together with the main package. Short information:
+- plextcolortbl.sty:
+ Patch for colortbl.sty (by David Carlisle) to improve
+ compatibility with plext.sty in pLaTeX.
+ Can be used on pLaTeX/upLaTeX.
- pxpdfpages.sty:
Patch for pdfpages.sty (by Andreas Matthias) to support
Japanese-style crop marks (called 'tombow' in Japanese).
Can be used on pLaTeX/upLaTeX.
+- pxpgfrcs.sty:
+ Patch for pgfrcs.sty (part of PGF) to support
+ Japanese classes for vertical writing.
+ Can be used on pLaTeX/upLaTeX.
## Installation
@@ -58,6 +69,6 @@
## Release Date
-2018-08-22
+2018-09-21
Hironobu Yamashita
Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.tex 2018-09-21 21:06:46 UTC (rev 48722)
+++ trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.tex 2018-09-21 21:07:02 UTC (rev 48723)
@@ -73,13 +73,19 @@
\section*{現在対応しているパッケージの一覧}
-\def\ITEMoo#1 (#2) -> #3 (#4){%
+\def\ITEMoTo#1 (#2) -> #3 (#4){%
\item \textsf{#1} (\textsf{#2})\\
$\rightarrow$ \textsf{#3} (\textsf{#4})}
-\def\ITEMooo#1 (#2) + #3 (#4) -> #5 (#6){%
+\def\ITEMooTo#1 (#2) + #3 (#4) -> #5 (#6){%
\item \textsf{#1} (\textsf{#2}) + \textsf{#3} (\textsf{#4})\\
$\rightarrow$ \textsf{#5} (\textsf{#6})}
-\def\ITEM#1 -> #2 {%
+\def\ITEMxoTo#1 + #2 (#3) -> #4 (#5){%
+ \item \textsf{#1} + \textsf{#2} (\textsf{#3})\\
+ $\rightarrow$ \textsf{#4} (\textsf{#5})}
+\def\ITEMoTx#1 (#2) -> #3 {%
+ \item \textsf{#1} (\textsf{#2})\\
+ $\rightarrow$ \textsf{#3} }
+\def\ITEMxTx#1 -> #2 {%
\item \textsf{#1}\\
$\rightarrow$ \textsf{#2} }
@@ -92,16 +98,19 @@
現在のバージョン (\filedate\space\fileversion) がサポートしているのは
下記のパッケージです。
\begin{itemize}
-\ITEMoo tracefnt (latex) -> ptrace/uptrace (platex/uplatex)
-\ITEMoo fltrace (latex) -> pfltrace (platex)
-\ITEMoo array (latex-tools) -> plarray (platex-tools)
-\ITEMooo array (latex-tools) + plext (platex) -> plextarray (platex-tools)
-\ITEMooo delarray (latex-tools) + plext (platex) -> plextdelarray (platex-tools)
-\ITEMoo everysel (ms) -> pxeverysel (platex-tools)
-\ITEMoo everyshi (ms) -> pxeveryshi (platex-tools)
-\ITEMoo atbegshi (oberdiek) -> pxatbegshi (platex-tools)
-\ITEMoo ftnright (latex-tools) -> pxftnright (platex-tools)
-\ITEM pdfpages -> pxpdfpages (maintained here!)
+\ITEMoTo tracefnt (latex) -> ptrace/uptrace (platex/uplatex)
+\ITEMoTo fltrace (latex) -> pfltrace (platex)
+\ITEMoTo array (latex-tools) -> plarray (platex-tools)
+\ITEMooTo array (latex-tools) + plext (platex) -> plextarray (platex-tools)
+\ITEMooTo delarray (latex-tools) + plext (platex) -> plextdelarray (platex-tools)
+\ITEMxoTo colortbl + plext (platex) -> plextcolortbl (maintained here!)
+\ITEMoTo everysel (ms) -> pxeverysel (platex-tools)
+\ITEMoTo everyshi (ms) -> pxeveryshi (platex-tools)
+\ITEMoTo atbegshi (oberdiek) -> pxatbegshi (platex-tools)
+\ITEMoTo ftnright (latex-tools) -> pxftnright (platex-tools)
+\ITEMxTx pdfpages -> pxpdfpages (maintained here!)
+\ITEMoTx pgfrcs (pgf) -> pxpgfrcs (maintained here!)
+\ITEMoTx pgfcore (pgf) -> pxpgfmark (by Takayuki YATO)
\end{itemize}
もちろん、このリストは随時、追加・削除・置き換えていく予定です。
互換性の問題や追加したいパッケージがある場合はご一報ください。
@@ -126,6 +135,7 @@
\begin{itemize}
\item 2018/08/21 v0.2 最初のCTANリリース版
\item 2018/08/22 v0.3 元パッケージ検出の改良
+ \item 2018/09/21 v0.5 \textsf{colortbl}や\textsf{pgf}もサポート
\end{itemize}
\end{document}
Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.tex 2018-09-21 21:06:46 UTC (rev 48722)
+++ trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.tex 2018-09-21 21:07:02 UTC (rev 48723)
@@ -25,7 +25,7 @@
whenever necessary.
This helps not only to simplify source files, but also
to make the appearance of working p\LaTeX/up\LaTeX\ sources
-similar to those of ordinally \LaTeX\ ones.
+similar to those of ordinary \LaTeX\ ones.
The package is maintained on GitHub:
\begin{verbatim}
@@ -73,13 +73,19 @@
\section*{List of currently available patches}
-\def\ITEMoo#1 (#2) -> #3 (#4){%
+\def\ITEMoTo#1 (#2) -> #3 (#4){%
\item \textsf{#1} (\textsf{#2})\\
$\rightarrow$ \textsf{#3} (\textsf{#4})}
-\def\ITEMooo#1 (#2) + #3 (#4) -> #5 (#6){%
+\def\ITEMooTo#1 (#2) + #3 (#4) -> #5 (#6){%
\item \textsf{#1} (\textsf{#2}) + \textsf{#3} (\textsf{#4})\\
$\rightarrow$ \textsf{#5} (\textsf{#6})}
-\def\ITEM#1 -> #2 {%
+\def\ITEMxoTo#1 + #2 (#3) -> #4 (#5){%
+ \item \textsf{#1} + \textsf{#2} (\textsf{#3})\\
+ $\rightarrow$ \textsf{#4} (\textsf{#5})}
+\def\ITEMoTx#1 (#2) -> #3 {%
+ \item \textsf{#1} (\textsf{#2})\\
+ $\rightarrow$ \textsf{#3} }
+\def\ITEMxTx#1 -> #2 {%
\item \textsf{#1}\\
$\rightarrow$ \textsf{#2} }
@@ -91,16 +97,19 @@
Current version (\filedate\space\fileversion) supports the followings:
\begin{itemize}
-\ITEMoo tracefnt (latex) -> ptrace/uptrace (platex/uplatex)
-\ITEMoo fltrace (latex) -> pfltrace (platex)
-\ITEMoo array (latex-tools) -> plarray (platex-tools)
-\ITEMooo array (latex-tools) + plext (platex) -> plextarray (platex-tools)
-\ITEMooo delarray (latex-tools) + plext (platex) -> plextdelarray (platex-tools)
-\ITEMoo everysel (ms) -> pxeverysel (platex-tools)
-\ITEMoo everyshi (ms) -> pxeveryshi (platex-tools)
-\ITEMoo atbegshi (oberdiek) -> pxatbegshi (platex-tools)
-\ITEMoo ftnright (latex-tools) -> pxftnright (platex-tools)
-\ITEM pdfpages -> pxpdfpages (maintained here!)
+\ITEMoTo tracefnt (latex) -> ptrace/uptrace (platex/uplatex)
+\ITEMoTo fltrace (latex) -> pfltrace (platex)
+\ITEMoTo array (latex-tools) -> plarray (platex-tools)
+\ITEMooTo array (latex-tools) + plext (platex) -> plextarray (platex-tools)
+\ITEMooTo delarray (latex-tools) + plext (platex) -> plextdelarray (platex-tools)
+\ITEMxoTo colortbl + plext (platex) -> plextcolortbl (maintained here!)
+\ITEMoTo everysel (ms) -> pxeverysel (platex-tools)
+\ITEMoTo everyshi (ms) -> pxeveryshi (platex-tools)
+\ITEMoTo atbegshi (oberdiek) -> pxatbegshi (platex-tools)
+\ITEMoTo ftnright (latex-tools) -> pxftnright (platex-tools)
+\ITEMxTx pdfpages -> pxpdfpages (maintained here!)
+\ITEMoTx pgfrcs (pgf) -> pxpgfrcs (maintained here!)
+\ITEMoTx pgfcore (pgf) -> pxpgfmark (by Takayuki YATO)
\end{itemize}
Note that, of course, the list may be adjusted
(addition, deletion or replacement)
@@ -128,6 +137,7 @@
\begin{itemize}
\item 2018/08/21 v0.2 First CTAN release
\item 2018/08/22 v0.3 Improve detection of problematic packages
+ \item 2018/09/21 v0.5 Add support for \textsf{colortbl} and \textsf{pgf}
\end{itemize}
\end{document}
Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty 2018-09-21 21:06:46 UTC (rev 48722)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty 2018-09-21 21:07:02 UTC (rev 48723)
@@ -6,9 +6,18 @@
% https://github.com/aminophen/plautopatch
%
-\NeedsTeXFormat{pLaTeX2e}
+\NeedsTeXFormat{LaTeX2e}% not pLaTeX2e on purpose!
\ProvidesPackage{plautopatch}
- [2018/08/22 v0.3 Automated patches for pLaTeX/upLaTeX]
+ [2018/09/21 v0.5 Automated patches for pLaTeX/upLaTeX]
+
+\ifx\pfmtname\@undefined
+ \PackageWarningNoLine{plautopatch}{%
+ This package is meant for pLaTeX/upLaTeX,\MessageBreak
+ you will not need it.}
+ \expandafter\endinput
+\fi
+
+\NeedsTeXFormat{pLaTeX2e}% just in case ...
\def\platpc at pkgname{plautopatch}
\def\platpc at err{\PackageError\platpc at pkgname}
\def\platpc at warn{\PackageWarningNoLine\platpc at pkgname}
@@ -40,13 +49,11 @@
\fi
}
-%% \platpc at ifloadederr{<package>}
-% = throw an error if <package> is already loaded.
-\def\platpc at ifloadederr#1{%
- \@ifpackageloaded{#1}{%
- \platpc at err{Package `#1' already loaded!\MessageBreak
- Use \string\RequirePackage{\platpc at pkgname} earlier}\@ehc
- }%
+%% \platpc at err@toolate{<package>}
+% = content of the "too-late" error.
+\def\platpc at err@toolate#1{%
+ \platpc at err{Package `#1' already loaded!\MessageBreak
+ Use \string\RequirePackage{\platpc at pkgname} earlier}\@ehc
}
% high-level helpers
@@ -124,9 +131,11 @@
}%
}%
% if <orig> is already loaded at this point, too late!
- \platpc at ifloadederr{#1}%
- % do it
- \AtBeginOfPackageFile{#1}{\csname platpc at begin@#1\endcsname}%
+ \@ifpackageloaded{#1}{%
+ \platpc at err@toolate{#1}%
+ }{% else
+ \AtBeginOfPackageFile{#1}{\csname platpc at begin@#1\endcsname}%
+ }%
}
\@onlypreamble\platpc at patch@before
@@ -168,10 +177,19 @@
\platpc at patch@after{array}{plarray}% platex-tools
\platpc at patch@after at both{array}{plext}{plextarray}% platex-tools
\platpc at patch@after at both{delarray}{plext}{plextdelarray}% platex-tools
+\platpc at patch@after at both{colortbl}{plext}{plextcolortbl}% (maintained here!)
\platpc at patch@after{everysel}{pxeverysel}% platex-tools
\platpc at patch@after{everyshi}{pxeveryshi}% platex-tools
\platpc at patch@after{atbegshi}{pxatbegshi}% platex-tools
\platpc at patch@before{ftnright}{pxftnright}% platex-tools
\platpc at patch@after{pdfpages}{pxpdfpages}% (maintained here!)
+% --- plextarydshln is not well tested, not activated for now
+%\platpc at patch@after at both{arydshln}{plext}{plextarydshln}% (maintained here!)
+% for TikZ/PGF
+\platpc at patch@after{pgfrcs}{pxpgfrcs}% (maintained here!)
+% --- pxpgfmark is useful on e-(u)pTeX + dvipdfmx
+% --- but does no harm for other conditions
+\platpc at patch@after{pgfcore}{pxpgfmark}% by Takayuki YATO (ZR)
+
\endinput
Added: trunk/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty 2018-09-21 21:07:02 UTC (rev 48723)
@@ -0,0 +1,43 @@
+%
+% plextarydshln.sty
+% written by Hironobu Yamashita (@aminophen)
+%
+% This package is part of the plautopatch bundle.
+% https://github.com/aminophen/plautopatch
+%
+% This package is expected to be compatible with
+% * arydshln.sty
+% (????/??/??)
+% * plcore.ltx in platex
+% (2001/09/26 v1.2a -- 2018/09/02 v1.3)
+%
+
+%% package declaration
+\NeedsTeXFormat{pLaTeX2e}
+\ProvidesPackage{plextarydshln}
+ [2018/09/19 v0.1 Merge plext and arydshln]
+\RequirePackage{plext}
+\RequirePackage{arydshln}
+
+%% handle package compatibility issues beforehand
+% Note: The "arydshln" manual requests users to load
+% the following packages *before* arydshln,
+% to ensure compatibility:
+% array, longtable, colortab, colortbl.
+% So, hoping that users are clever enough to load
+% them before plextarydshln, load known patches
+% at this point when they are detected.
+%\@ifpackageloaded{array}{\RequirePackage{plextarray}}{}
+%\@ifpackageloaded{colortbl}{\RequirePackage{plextcolortbl}}{}
+
+%% patching internal code for arydshln.sty and plext.sty
+%
+\let\adl at p@array\p at array
+\def\p at array{%
+ \adl at everyvbox\everyvbox
+ \everyvbox{\adl at arrayinit \the\adl at everyvbox \everyvbox\adl at everyvbox}%
+ \adl at p@array}
+%
+%% done
+
+\endinput
Property changes on: trunk/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/plautopatch/plextcolortbl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/plextcolortbl.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/plextcolortbl.sty 2018-09-21 21:07:02 UTC (rev 48723)
@@ -0,0 +1,39 @@
+%
+% plextcolortbl.sty
+% written by Hironobu Yamashita (@aminophen)
+%
+% This package is part of the plautopatch bundle.
+% https://github.com/aminophen/plautopatch
+%
+% This package is expected to be compatible with
+% * colortbl.sty
+% (2012/06/21 v1.0b -- 2018/05/02 v1.0c)
+% * plext.sty in platex
+% (2001/09/26 v1.2 -- 2018/09/20 v1.2j)
+%
+
+%% package declaration
+\NeedsTeXFormat{pLaTeX2e}
+\ProvidesPackage{plextcolortbl}
+ [2018/09/19 v0.1a Merge plext and colortbl]
+\RequirePackage{plextarray}% colortbl requires array
+\RequirePackageWithOptions{colortbl}
+
+%% patching internal code for colortbl.sty
+%
+\AtBeginDocument{%
+ % recover \@tabarray from plextarray.sty
+ \def\@tabarray{\@ifnextchar<\p at tabarray{\p at tabarray<Z>}}
+ % change \p at tabarray instead
+ \expandafter\def\expandafter\p at tabarray
+ \expandafter<\expandafter#\expandafter1\expandafter>\expandafter{%
+ \expandafter\CT at start\p at tabarray<#1>}%
+}
+%
+\def\endarray{\crcr \egroup \egroup
+ \@end at alignbox %% added from plext.sty
+ \@arrayright \gdef\@preamble{}\CT at end}%
+%
+%% done
+
+\endinput
Property changes on: trunk/Master/texmf-dist/tex/latex/plautopatch/plextcolortbl.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty 2018-09-21 21:06:46 UTC (rev 48722)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty 2018-09-21 21:07:02 UTC (rev 48723)
@@ -5,9 +5,11 @@
% This package is part of the plautopatch bundle.
% https://github.com/aminophen/plautopatch
%
-% This package `pxpdfpages.sty' is based on:
-% * pdfpages.sty (2017/10/31 v0.5l)
-% * plcore.ltx in platex (2018/05/13 v1.2z)
+% This package is expected to be compatible with
+% * pdfpages.sty
+% (2015/07/19 v0.5a -- 2017/10/31 v0.5l)
+% * plcore.ltx in platex
+% (2001/09/26 v1.2a -- 2018/09/02 v1.3)
%
%% package declaration
Added: trunk/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty 2018-09-21 21:07:02 UTC (rev 48723)
@@ -0,0 +1,34 @@
+%
+% pxpgfrcs.sty
+% written by Hironobu Yamashita (@aminophen)
+%
+% This package is part of the plautopatch bundle.
+% https://github.com/aminophen/plautopatch
+%
+
+%% package declaration
+\NeedsTeXFormat{pLaTeX2e}
+\ProvidesPackage{pxpgfrcs}
+ [2018/09/21 v0.1]
+\RequirePackage{pgfrcs}
+
+% Note: I chose the name "pxpgfrcs.sty"
+% (instead of "pgfutil-platex.def") because
+% * "pgfrcs.sty" is the only package
+% which contains \input pgfutil-latex.def.
+% * It is not common for LaTeX users to use
+% such an interface like \input pgfutil-platex.def.
+
+% patch pgfutil-latex.def
+\RequirePackage{pxeveryshi}% pgfutil-latex.def requires everyshi
+\def\pgfutil at insertatbegincurrentpagefrombox#1{%
+ \edef\pgf at temp{\the\wd\pgfutil at abb}%
+ \global\setbox\pgfutil at abb\hbox{%
+ \yoko %%% add \yoko
+ \unhbox\pgfutil at abb%
+ \hskip-\pgf at temp\relax%
+ #1%
+ }%
+}%
+
+\endinput
Property changes on: trunk/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
More information about the tex-live-commits
mailing list