summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-21 21:56:12 +0000
committerKarl Berry <karl@freefriends.org>2019-11-21 21:56:12 +0000
commit2ac9cb7859d344aac57a0ceeedb92b8418ba44ba (patch)
tree5c36feb29b1b9fcd5e61296a126d89ac5caca2be /Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
parent5c51b6ddc3a4aa82790bcf45072a1ce720f0975d (diff)
language detection, \cellcolor support, tex4ht r624-625
git-svn-id: svn://tug.org/texlive/trunk@52880 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht15
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht b/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
index 2054fd6ba23..6a6d04f4c83 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
@@ -1,6 +1,6 @@
-% colortbl.4ht (2016-12-14-16:54), generated from tex4ht-4ht.tex
+% colortbl.4ht (2019-11-21-13:35), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
-% Copyright 2009-2016 TeX Users Group
+% Copyright 2009-2019 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2016-12-14-16:54}
+\immediate\write-1{version 2019-11-21-13:35}
\RequirePackage{xcolor}
@@ -44,6 +44,15 @@
}
\def\right::colcol[#1]{}
\HAssign\tblcol:N = 0
+\def\CT@cellc#1[#2]#3{{\if :#2:\def\current@color{#3}%
+ \else
+ \gHAdvance\tblcol:N by 1
+ \convertcolorspec{#2}{#3}{HTML}\tmp:tblcolor
+ \Configure{HColor}{tblcol-\tblcol:N}{\#\tmp:tblcolor}%
+ \def\current@color{tblcol-\tblcol:N}%
+ \fi
+ \csname a:cell-colortbl\endcsname}%
+ \futurelet\:temp\left:colcol}
\NewConfigure{@classz}{4}
\pend:def\@classz{\pic:gobble\a:@classz}
\append:def\@classz{\pic:gobble\b:@classz}