From a6b5765c553dbc80728d0ec38a69cc7af2eaaf6f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 3 May 2021 22:58:11 +0000 Subject: \arrayrulecolor, tex4ht r925 git-svn-id: svn://tug.org/texlive/trunk@59071 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht') 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% -- cgit v1.2.3