summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht b/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
index 446d545445b..4875998c798 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 (2019-11-22-14:08), generated from tex4ht-4ht.tex
+% colortbl.4ht (2021-05-03-15:54), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
-% Copyright 2009-2019 TeX Users Group
+% Copyright 2009-2021 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 2019-11-22-14:08}
+\immediate\write-1{version 2021-05-03-15:54}
\RequirePackage{xcolor}
@@ -95,6 +95,12 @@
\gdef\CT@row@color{\CT@color{#1}}%
\CT@rowc}
\NewConfigure{rowcolor}{1}
+% default hline color is black
+\def\hline:color{000}
+% save rule color in format usable in CSS
+\renewcommand\arrayrulecolor[2][named]{%
+\noalign{\convertcolorspec{#1}{#2}{HTML}\:tmp\global\let\hline:color\:tmp}%
+}
\def\convert:colorspec#1 #2 #3 #4{%
\edef\current:color{%
\ifx\relax#1\relax\else%