summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht12
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4.4ht9
2 files changed, 16 insertions, 5 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%
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
index cb6f0efdcf1..ee69ee0d1bc 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
@@ -1,4 +1,4 @@
-% html4.4ht (2021-04-30-15:27), generated from tex4ht-html4.tex
+% html4.4ht (2021-05-03-15:55), generated from tex4ht-html4.tex
% Copyright 2009-2021 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2021-04-30-15:27}
+\immediate\write-1{version 2021-05-03-15:55}
\exit:ifnot{8859-6,%
CJK,%
@@ -28844,6 +28844,11 @@ Y{0178}\i{00EF}%
\def\add:color#1#2#3{%
\Configure{SetHColor}{\Css{ \#TBL-\TableNo-#3{ #1:\HColor }}}{#2}}
+% redefine default table configuration and put the color rule
+\def\a:HBorder{<tr class="hline" style="border-top:1px solid \#\hline:color">}
+% don't display <hr> elements in colored \hline
+\Css{tr.hline td hr{display:none}}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty