diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/platex-tools/plarray.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/platex-tools/plarray.sty | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/platex-tools/plarray.sty b/Master/texmf-dist/tex/latex/platex-tools/plarray.sty index 55002889c62..37cb9f3c97a 100644 --- a/Master/texmf-dist/tex/latex/platex-tools/plarray.sty +++ b/Master/texmf-dist/tex/latex/platex-tools/plarray.sty @@ -7,12 +7,12 @@ % % This package `plarray.sty' is based on: % * array.sty in latex-tools (2016/10/06 v2.4d) -% * plcore.ltx in platex (2017/07/21 v1.2p) +% * plcore.ltx in platex (2018/03/12 v1.2y) % \NeedsTeXFormat{pLaTeX2e} \ProvidesPackage{plarray} - [2017/07/29 v0.1c Tabular extension package for pLaTeX/upLaTeX] + [2018/03/12 v0.1e Tabular extension package for pLaTeX/upLaTeX] \RequirePackage{array} %% patching internal code for array.sty @@ -26,11 +26,24 @@ \def\endtabular{\endarray $\egroup\null} \expandafter \let \csname endtabular*\endcsname = \endtabular % -%% inhibit JFM glue around tabular cell components (pLaTeX2e 2017/07/29) +%% inhibit JFM glue around tabular cell components (pLaTeX2e 2018/03/09) +% first, provide old definition; there are some known incompatibility +% compared to LaTeX, pLaTeX or array \def\insert@column{% \the@toks \the \@tempcnta \mbox{}\inhibitglue \ignorespaces \@sharp \unskip \unskip \the@toks \the \count@ \relax} +\ifx\pltx@next@inhibitglue\@undefined\else + \ifx\removejfmglue\@undefined\else + % both macros are available, override with new definition + % (= pLaTeX2e 2018/03/09 or later, built on e-(u)pTeX 180226) + \def\insert@column{% + \the@toks \the \@tempcnta + \relax \pltx@next@inhibitglue + \ignorespaces \@sharp \unskip \removejfmglue + \the@toks \the \count@ \relax} + \fi +\fi % %% done |