texlive[59071] Master/texmf-dist/tex/generic/tex4ht: \arrayrulecolor,

commits+karl at tug.org commits+karl at tug.org
Tue May 4 00:58:11 CEST 2021


Revision: 59071
          http://tug.org/svn/texlive?view=revision&revision=59071
Author:   karl
Date:     2021-05-04 00:58:11 +0200 (Tue, 04 May 2021)
Log Message:
-----------
\arrayrulecolor, tex4ht r925

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=925

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht	2021-05-03 21:44:56 UTC (rev 59070)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht	2021-05-03 22:58:11 UTC (rev 59071)
@@ -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 at row@color{\CT at color{#1}}%
   \CT at 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%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2021-05-03 21:44:56 UTC (rev 59070)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2021-05-03 22:58:11 UTC (rev 59071)
@@ -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 @@
 \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



More information about the tex-live-commits mailing list.