[tex4ht-commits] [SCM] tex4ht updated: r626 - trunk/lit

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Fri Nov 22 10:46:46 CET 2019


Author: michal_h21
Date: 2019-11-22 11:46:45 +0200 (Fri, 22 Nov 2019)
New Revision: 626

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed \rowcolor command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-11-21 16:36:28 UTC (rev 625)
+++ trunk/lit/ChangeLog	2019-11-22 09:46:45 UTC (rev 626)
@@ -1,3 +1,8 @@
+2019-11-22 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (colortbl.4ht): fixed support for colors in \rowcolor
+	command.
+
 2019-11-21 Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html5.tex (html5.4ht): fixed language detection when no main

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-11-21 16:36:28 UTC (rev 625)
+++ trunk/lit/tex4ht-4ht.tex	2019-11-22 09:46:45 UTC (rev 626)
@@ -26068,8 +26068,9 @@
   |<fixed first main body HRow value|>%
   \@ifnextchar[\CT at rowa\CT at rowb}
 \def\CT at rowa[#1]#2{%
-  \pic:gobbleII\a:rowcolor{#1 #2}%
-  \gdef\CT at row@color{\CT at color[#1]{#2}}%
+  \save:color#1 #2//%
+  \pic:gobbleII\a:rowcolor{#2}%
+  \gdef\CT at row@color{\CT at color{#2}}%
   \CT at rowc}
 \def\CT at rowb#1{%
   \pic:gobbleII\a:rowcolor{#1}%
@@ -26120,7 +26121,7 @@
   \convert:colorspec#2 {} {} {} {}
   \convertcolorspec{#1}{\current:color}{HTML}\tmp:col
   \def\current at color{#2}
-  \Configure{HColor}{\current at color}{\tmp:col}
+  \Configure{HColor}{\current at color}{\#\tmp:col}
 }
 
 \def\begin:current at color{\let\sv:curcolor|=\current at color}



More information about the tex4ht-commits mailing list