summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-03 22:58:11 +0000
committerKarl Berry <karl@freefriends.org>2021-05-03 22:58:11 +0000
commita6b5765c553dbc80728d0ec38a69cc7af2eaaf6f (patch)
tree53d7ef7f560b9900c6a1216c02cfaafcfd091494 /Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
parent6ce541f84c870ee0965f52efbdf7d2c7c8cc3b02 (diff)
\arrayrulecolor, tex4ht r925
git-svn-id: svn://tug.org/texlive/trunk@59071 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.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%