texlive[47614] Master/texmf-dist: colortbl (4may18)

commits+karl at tug.org commits+karl at tug.org
Sat May 5 00:10:53 CEST 2018


Revision: 47614
          http://tug.org/svn/texlive?view=revision&revision=47614
Author:   karl
Date:     2018-05-05 00:10:53 +0200 (Sat, 05 May 2018)
Log Message:
-----------
colortbl (4may18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.pdf
    trunk/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.tex
    trunk/Master/texmf-dist/doc/latex/colortbl/colortbl.pdf
    trunk/Master/texmf-dist/source/latex/colortbl/colortbl.dtx
    trunk/Master/texmf-dist/tex/latex/colortbl/colortbl.sty

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/colortbl/README

Deleted: trunk/Master/texmf-dist/doc/latex/colortbl/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/colortbl/README	2018-05-04 22:10:36 UTC (rev 47613)
+++ trunk/Master/texmf-dist/doc/latex/colortbl/README	2018-05-04 22:10:53 UTC (rev 47614)
@@ -1,7 +0,0 @@
-The colortbl package:
-
-   Add colour to LaTeX tables. Requires array and color packages.
-   Process colortbl.ins to produce the package file colortbl.sty.
-   Process colortbl.dtx to get the documentation (this requires
-   longtable hhline and dcolumn from the standard `tools'
-   distribution.)

Modified: trunk/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.tex	2018-05-04 22:10:36 UTC (rev 47613)
+++ trunk/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.tex	2018-05-04 22:10:53 UTC (rev 47614)
@@ -352,7 +352,7 @@
  \section{Der \slash \textsf{cellcolor} Befehl}
 
 Die Einstellung der Hintergrundfarbe kann auch auf eine einzelne Zelle beschr"ankt werden, 
-indem zu Beginn der Befehl \slash \textsf{multicolumn}{1\}\{>\slash
+indem zu Beginn der Befehl \slash \textsf{multicolumn}\{1\}\{>\slash
 \textsf{rowcolor}\ldots, (oder
 \slash \textsf{columncolor}, wenn keine Zeilenfarbe eingestellt ist) eingegeben wird. Hier treten 
 jedoch Defizite auf: 1)~Es hindert die Daten in der Zelle, die F"arbung

Modified: trunk/Master/texmf-dist/doc/latex/colortbl/colortbl.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/colortbl/colortbl.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/colortbl/colortbl.dtx	2018-05-04 22:10:36 UTC (rev 47613)
+++ trunk/Master/texmf-dist/source/latex/colortbl/colortbl.dtx	2018-05-04 22:10:53 UTC (rev 47614)
@@ -15,7 +15,7 @@
 %<driver>\ProvidesFile{colortbl.drv}
 % \fi
 %         \ProvidesFile{colortbl.dtx}
-          [2012/02/13 v1.0a Color table columns (DPC)]
+          [2018/05/02 v1.0c Color table columns (DPC)]
 %
 % \iffalse
 %<*driver>
@@ -42,11 +42,9 @@
 %
 %  \maketitle
 % 
-% \CheckSum{966}
 %
-%
 % \begin{abstract}
-% This package implements a flexibable mechanism for giving colured 
+% This package implements a flexible mechanism for giving coloured 
 % `panels' behind specified columns in a table. 
 % This package requires the \textsf{array} and \textsf{color} packages.
 % \end{abstract}
@@ -72,6 +70,7 @@
 % \changes{v0.1i}{1999/03/24}
 %     {LPPL}
 % \changes{v0.1j}{2001/02/13}{\cs{cellcolor} (Donald Arseneau)}
+% \changes{v1.0c}{2018/05/02}{Updates to match new array code}
 %
 % \section{Introduction}
 %
@@ -613,6 +612,11 @@
 %
 %
 % \begin{macro}{\@classz}
+% First define stub for new \textsf{array} package code.
+%    \begin{macrocode}
+\ifx\do at row@strut\@undefined\let\do at row@strut\relax\fi
+%    \end{macrocode}
+%
 % "\@classz" is the main function in the \textsf{array} package handling
 % of primitive column types: It inserts the code for each of the column
 % specifiers, `"clrpmb"'. The other classes deal with the other preamble
@@ -647,7 +651,7 @@
    \@addtopreamble{%
     \setbox\z@\hbox\bgroup\bgroup
 %    \end{macrocode}
-% \changes{v1.0a}{2012/02/13}{reset everycr for nested uses (see test ct2)}
+% \changes{v1.0a}{2012/02/13}{reset \cs{everycr} for nested uses (see test ct2)}
 %    \begin{macrocode}
       \CT at everycr{}%
       \ifcase \@chnum
@@ -660,19 +664,27 @@
       \hskip\stretch{.5}\kern\z@
       \d at llarbegin
       \insert at column
-      \d at llarend\hskip\stretch{.5}\or
+      \d at llarend\do at row@strut\hskip\stretch{.5}\or
 %    \end{macrocode}
 % "l" and "r" as before, but using fill glue.
 %    \begin{macrocode}
-      \d at llarbegin \insert at column \d at llarend \hfill \or
-      \hfill\kern\z@ \d at llarbegin \insert at column \d at llarend \or
+      \d at llarbegin \insert at column \d at llarend\do at row@strut \hfill \or
+      \hfill\kern\z@ \d at llarbegin \insert at column \d at llarend\do at row@strut \or
 %    \end{macrocode}
-% "m", "p" and "b" as before.
+% "m", "p" and "b" as before, but need to take account of array package update.
 %    \begin{macrocode}
-   $\vcenter
-   \@startpbox{\@nextchar}\insert at column \@endpbox $\or
-   \vtop \@startpbox{\@nextchar}\insert at column \@endpbox \or
-   \vbox \@startpbox{\@nextchar}\insert at column \@endpbox
+      \ifx\ar at align@mcell\@undefined
+        $\vcenter
+         \@startpbox{\@nextchar}\insert at column \@endpbox $
+      \else
+        \setbox\ar at mcellbox\vbox
+          \@startpbox{\@nextchar}\insert at column \@endpbox
+        \ar at align@mcell
+        \do at row@strut
+      \fi
+   \or
+   \vtop \@startpbox{\@nextchar}\insert at column \@endpbox\do at row@strut \or
+   \vbox \@startpbox{\@nextchar}\insert at column \@endpbox\do at row@strut
   \fi
 %    \end{macrocode}
 % Close the box register assignment.
@@ -898,14 +910,16 @@
 % \end{macro}
 %
 % \begin{macro}{\endarray}
+% \changes{v1.0b}{2012/21/06}{re-insert \cs{@arrayright} to match \textsf{array} definition, for \textsf{delarray}}
 %    \begin{macrocode}
-\def\endarray{\crcr \egroup \egroup \gdef\@preamble{}\CT at end}
+\def\endarray{%
+  \crcr \egroup \egroup \@arrayright\gdef\@preamble{}\CT at end}
 %    \end{macrocode}
 % \end{macro}
 %
 % \begin{macro}{\multicolumn}
 % "\multicolumn"
-% \changes{v1.0a}{2012/02/13}{make multicolumn long (see test ct1)}
+% \changes{v1.0a}{2012/02/13}{make \cs{multicolumn} long (see test ct1)}
 %    \begin{macrocode}
 \long\def\multicolumn#1#2#3{%
    \multispan{#1}\begingroup
@@ -916,7 +930,7 @@
    \def\@sharp{#3}%
    \let\CT at cell@color\relax
 %    \end{macrocode}
-% \changes{v1.0a}{2012/02/13}{don't reset CT at row@color (see test ct3)}
+% \changes{v1.0a}{2012/02/13}{don't reset \cs{CT at row@color} (see test ct3)}
 %   \let\CT at row@color\relax
 %    \begin{macrocode}
    \let\CT at column@color\relax

Modified: trunk/Master/texmf-dist/tex/latex/colortbl/colortbl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/colortbl/colortbl.sty	2018-05-04 22:10:36 UTC (rev 47613)
+++ trunk/Master/texmf-dist/tex/latex/colortbl/colortbl.sty	2018-05-04 22:10:53 UTC (rev 47614)
@@ -15,7 +15,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}[1995/06/01]
 \ProvidesPackage{colortbl}
-          [2012/02/13 v1.0a Color table columns (DPC)]
+          [2018/05/02 v1.0c Color table columns (DPC)]
 \edef\@tempa{%
   \noexpand\AtEndOfPackage{%
     \catcode`\noexpand\^^A\the\catcode`\^^A\relax}}
@@ -25,6 +25,7 @@
 \DeclareOption*{\PassOptionsToPackage\CurrentOption{color}}
 \ProcessOptions
 \RequirePackage{array,color}
+\ifx\do at row@strut\@undefined\let\do at row@strut\relax\fi
 \def\@classz{\@classx
    \@tempcnta \count@
    \prepnext at tok
@@ -36,13 +37,21 @@
       \hskip\stretch{.5}\kern\z@
       \d at llarbegin
       \insert at column
-      \d at llarend\hskip\stretch{.5}\or
-      \d at llarbegin \insert at column \d at llarend \hfill \or
-      \hfill\kern\z@ \d at llarbegin \insert at column \d at llarend \or
-   $\vcenter
-   \@startpbox{\@nextchar}\insert at column \@endpbox $\or
-   \vtop \@startpbox{\@nextchar}\insert at column \@endpbox \or
-   \vbox \@startpbox{\@nextchar}\insert at column \@endpbox
+      \d at llarend\do at row@strut\hskip\stretch{.5}\or
+      \d at llarbegin \insert at column \d at llarend\do at row@strut \hfill \or
+      \hfill\kern\z@ \d at llarbegin \insert at column \d at llarend\do at row@strut \or
+      \ifx\ar at align@mcell\@undefined
+        $\vcenter
+         \@startpbox{\@nextchar}\insert at column \@endpbox $
+      \else
+        \setbox\ar at mcellbox\vbox
+          \@startpbox{\@nextchar}\insert at column \@endpbox
+        \ar at align@mcell
+        \do at row@strut
+      \fi
+   \or
+   \vtop \@startpbox{\@nextchar}\insert at column \@endpbox\do at row@strut \or
+   \vbox \@startpbox{\@nextchar}\insert at column \@endpbox\do at row@strut
   \fi
  \egroup\egroup
 \begingroup
@@ -118,7 +127,8 @@
 \AtBeginDocument{%
   \expandafter\def\expandafter\@tabarray\expandafter{%
     \expandafter\CT at start\@tabarray}}
-\def\endarray{\crcr \egroup \egroup \gdef\@preamble{}\CT at end}
+\def\endarray{%
+  \crcr \egroup \egroup \@arrayright\gdef\@preamble{}\CT at end}
 \long\def\multicolumn#1#2#3{%
    \multispan{#1}\begingroup
    \def\@addamp{\if at firstamp \@firstampfalse \else



More information about the tex-live-commits mailing list