texlive[49059] Master/texmf-dist: plautopatch (3nov18)

commits+karl at tug.org commits+karl at tug.org
Sat Nov 3 22:05:34 CET 2018


Revision: 49059
          http://tug.org/svn/texlive?view=revision&revision=49059
Author:   karl
Date:     2018-11-03 22:05:34 +0100 (Sat, 03 Nov 2018)
Log Message:
-----------
plautopatch (3nov18)

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

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/plautopatch/plsiunitx.sty

Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/plautopatch/README.md	2018-11-03 01:23:46 UTC (rev 49058)
+++ trunk/Master/texmf-dist/doc/latex/plautopatch/README.md	2018-11-03 21:05:34 UTC (rev 49059)
@@ -23,6 +23,7 @@
 - colortbl + plext (platex) -> plextcolortbl (maintained here!)
 - arydshln -> plarydshln (maintained here!)
 - arydshln + plext (platex) -> plextarydshln (maintained here!)
+- siunitx -> plsiunitx (maintained here!)
 - everysel (ms) -> pxeverysel (platex-tools)
 - everyshi (ms) -> pxeveryshi (platex-tools)
 - atbegshi (oberdiek) -> pxatbegshi (platex-tools)
@@ -53,6 +54,10 @@
     Patch for arydshln.sty (by Hiroshi Nakashima­) to improve
     compatibility with plext.sty in pLaTeX.
     Can be used on pLaTeX/upLaTeX.
+- plsiunitx.sty:
+    Patch for siunitx.sty (by Joseph Wright­) to fix
+    conflict with plarray.sty (platex-tools).
+    Can be used on pLaTeX/upLaTeX.
 - pxpdfpages.sty:
     Patch for pdfpages.sty (by An­dreas Matthias) to support
     Japanese-style crop marks (called 'tombow' in Japanese).
@@ -79,6 +84,6 @@
 
 ## Release Date
 
-2018-10-27
+2018-11-03
 
 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-11-03 01:23:46 UTC (rev 49058)
+++ trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.tex	2018-11-03 21:05:34 UTC (rev 49059)
@@ -109,6 +109,7 @@
 \ITEMxoTx colortbl + plext (platex) -> plextcolortbl (maintained here!)
 \ITEMxTx  arydshln -> plarydshln (maintained here!)
 \ITEMxoTx arydshln + plext (platex) -> plextarydshln (maintained here!)
+\ITEMxTx  siunitx -> plsiunitx (maintained here!)
 \ITEMoTo  everysel (ms) -> pxeverysel (platex-tools)
 \ITEMoTo  everyshi (ms) -> pxeveryshi (platex-tools)
 \ITEMoTo  atbegshi (oberdiek) -> pxatbegshi (platex-tools)
@@ -143,6 +144,7 @@
   \item 2018/09/21 v0.5  \textsf{colortbl}や\textsf{pgf}もサポート
   \item 2018/10/02 v0.6  \textsf{arydshln}のサポート
   \item 2018/10/27 v0.8  \textsf{everysel}サポートの改良
+  \item 2018/11/03 v0.9  \textsf{siunitx}のサポート
 \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-11-03 01:23:46 UTC (rev 49058)
+++ trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.tex	2018-11-03 21:05:34 UTC (rev 49059)
@@ -108,6 +108,7 @@
 \ITEMxoTx colortbl + plext (platex) -> plextcolortbl (maintained here!)
 \ITEMxTx  arydshln -> plarydshln (maintained here!)
 \ITEMxoTx arydshln + plext (platex) -> plextarydshln (maintained here!)
+\ITEMxTx  siunitx -> plsiunitx (maintained here!)
 \ITEMoTo  everysel (ms) -> pxeverysel (platex-tools)
 \ITEMoTo  everyshi (ms) -> pxeveryshi (platex-tools)
 \ITEMoTo  atbegshi (oberdiek) -> pxatbegshi (platex-tools)
@@ -145,6 +146,7 @@
   \item 2018/09/21 v0.5  Add support for \textsf{colortbl} and \textsf{pgf}
   \item 2018/10/02 v0.6  Add support for \textsf{arydshln}
   \item 2018/10/27 v0.8  Better support for \textsf{everysel}
+  \item 2018/11/03 v0.9  Add support for \textsf{siunitx}
 \end{itemize}
 
 \end{document}

Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty	2018-11-03 01:23:46 UTC (rev 49058)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty	2018-11-03 21:05:34 UTC (rev 49059)
@@ -8,7 +8,7 @@
 
 \NeedsTeXFormat{LaTeX2e}% not pLaTeX2e on purpose!
 \ProvidesPackage{plautopatch}
-    [2018/10/27 v0.8 Automated patches for pLaTeX/upLaTeX]
+    [2018/11/03 v0.9 Automated patches for pLaTeX/upLaTeX]
 
 \ifx\pfmtname\@undefined
   \PackageWarningNoLine{plautopatch}{%
@@ -180,6 +180,7 @@
 \platpc at patch@after at both{colortbl}{plext}{plextcolortbl}% (maintained here!)
 \platpc at patch@after{arydshln}{plarydshln}% (maintained here!)
 \platpc at patch@after at both{arydshln}{plext}{plextarydshln}% (maintained here!)
+\platpc at patch@after{siunitx}{plsiunitx}% (maintained here!)
 % --- in most cases, pxeverysel can be safely loaded even after everysel
 % --- but it can fail when \AtBeginDocument{everysel} is involved
 \platpc at patch@before{everysel}{pxeverysel}% platex-tools

Added: trunk/Master/texmf-dist/tex/latex/plautopatch/plsiunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/plsiunitx.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/plsiunitx.sty	2018-11-03 21:05:34 UTC (rev 49059)
@@ -0,0 +1,76 @@
+%
+% plsiunitx.sty
+% written by Hironobu Yamashita (@aminophen)
+%
+% This package is part of the plautopatch bundle.
+% https://github.com/aminophen/plautopatch
+% (mostly based on lltjp-siunitx.sty 2018-11-02)
+%
+% This package is expected to be compatible with
+%   * siunitx.sty
+%     (????/??/?? v?.?? -- 2018/05/17 v2.7s)
+%   * plarray.sty in platex-tools
+%     (2018/03/01 v0.1d -- 2018/10/27 v0.1h)
+%
+
+%% package declaration
+\NeedsTeXFormat{pLaTeX2e}
+\ProvidesPackage{plsiunitx}
+  [2018/11/03 v0.1 siunitx package for pLaTeX/upLaTeX]
+\RequirePackageWithOptions{siunitx}
+\RequirePackage{plarray}% siunitx requires array
+
+\ExplSyntaxOn
+
+%% patching internal code for siunitx.sty
+%
+%% inhibit JFM glue around tabular cell components (pLaTeX2e 2018/03/09)
+\@ifl at t@r{\pfmtversion}{2017/07/29}{\@firstofone}{\@gobble}
+{% = for pLaTeX2e 2017/07/29 or newer
+%% new table column: S and s
+\cs_set_protected:Npn \__siunitx_table_collect_not_braced:N #1
+  {
+    \token_if_eq_meaning:NNF #1 \relax {
+    \token_if_eq_meaning:NNF #1 \pltx at next@inhibitglue {
+    \token_if_eq_meaning:NNF #1 \removejfmglue {
+    \token_if_eq_meaning:NNF #1 \tex_ignorespaces:D
+      {
+        \token_if_eq_meaning:NNF #1 \tex_unskip:D
+          { \__siunitx_table_collect_not_braced_aux_i:N #1 }
+      }
+    }}}
+    \__siunitx_table_collect_next:
+  }
+\AtBeginDocument
+  {
+    \@ifpackageloaded { mdwtab }
+      {
+        \cs_set_protected:Npn \__siunitx_table_collect_not_braced:N #1
+          {
+            \token_if_eq_meaning:NNF #1 \relax {
+            \token_if_eq_meaning:NNF #1 \pltx at next@inhibitglue {
+            \token_if_eq_meaning:NNF #1 \removejfmglue {
+            \token_if_eq_meaning:NNF #1 \tex_ignorespaces:D
+              {
+                \token_if_eq_meaning:NNF #1 \tex_unskip:D
+                  {
+                    \token_if_eq_meaning:NNF #1 \tab at setcr
+                      {
+                        \token_if_eq_meaning:NNF #1 \@maybe at unskip
+                          { \__siunitx_table_collect_not_braced_aux_i:N #1 }
+                      }
+                  }
+              }
+            }}}
+            \__siunitx_table_collect_next:
+          }
+      }
+      { }
+  }
+}% =
+%
+%% done
+
+\ExplSyntaxOff
+
+\endinput


Property changes on: trunk/Master/texmf-dist/tex/latex/plautopatch/plsiunitx.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list