From 9444430d73ece7ecf9adaf5b3f4ee373896f95be Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 21 Sep 2018 21:06:46 +0000
Subject: platex-tools (21sep18)

git-svn-id: svn://tug.org/texlive/trunk@48722 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/platex-tools/plextarray.sty | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/platex-tools/plextarray.sty')

diff --git a/Master/texmf-dist/tex/latex/platex-tools/plextarray.sty b/Master/texmf-dist/tex/latex/platex-tools/plextarray.sty
index cc837edc6c5..3e1f3c207c6 100644
--- a/Master/texmf-dist/tex/latex/platex-tools/plextarray.sty
+++ b/Master/texmf-dist/tex/latex/platex-tools/plextarray.sty
@@ -9,24 +9,30 @@
 %   * array.sty in latex-tools
 %     (2016/10/06 v2.4d -- 2018/09/13 v2.4i)
 %   * plext.sty in platex
-%     (2001/09/26 v1.2  -- 2018/09/09 v1.2i)
+%     (2001/09/26 v1.2  -- 2018/09/20 v1.2j)
 % Largely based on lltjext.sty from LuaTeX-ja project.
 %
 
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesPackage{plextarray}
-  [2018/09/18 v1.1b Tabular extension package for plext and array]
+  [2018/09/20 v1.1c Tabular extension package for plext and array]
 \RequirePackage{plext}
 \RequirePackage{plarray}
 
 %% save definitions from array.sty
+%  the <dir> option will be handled later in \@tabarray
 \def\array{\col@sep\arraycolsep
   \def\d@llarbegin{$}\let\d@llarend\d@llarbegin\def\@halignto{}%
   \@tabarray}
 \def\tabular{\def\@halignto{}\@tabular}
-\expandafter\def\csname tabular*\endcsname#1{%
-       \setlength\dimen@{#1}%
-       \edef\@halignto{to\the\dimen@}\@tabular}
+%% merged definitions from array.sty and plext.sty
+%  take <dir> option first as in plext.sty,
+%  which will be passed to \@tabarray
+\@namedef{tabular*}{\@ifnextchar<%>
+   {\p@stabular}{\p@stabular<Z>}}
+\def\p@stabular<#1>#2{%
+   \setlength\dimen@{#2}%
+   \edef\@halignto{to\the\dimen@}\@tabular<#1>}
 
 %% patching internal code for array.sty and plext.sty
 %
-- 
cgit v1.2.3

