texlive[52001] Master/texmf-dist/tex/generic/tex4ht: fix for colors

commits+karl at tug.org commits+karl at tug.org
Sat Aug 31 23:18:05 CEST 2019


Revision: 52001
          http://tug.org/svn/texlive?view=revision&revision=52001
Author:   karl
Date:     2019-08-31 23:18:04 +0200 (Sat, 31 Aug 2019)
Log Message:
-----------
fix for colors defined with spaces, tex4ht r596

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

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

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/color.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/color.4ht	2019-08-30 23:54:39 UTC (rev 52000)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/color.4ht	2019-08-31 21:18:04 UTC (rev 52001)
@@ -1,4 +1,4 @@
-% color.4ht (2019-04-09-10:06), generated from tex4ht-4ht.tex
+% color.4ht (2019-08-31-14:16), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
 % Copyright 2009-2019 TeX Users Group
 %
@@ -89,7 +89,7 @@
 \fi \fi
 %
   \else
-     \csname HColor:#1\endcsname #2//%
+     \csname HColor:#1\endcsname #2 //%
   \fi
 }
 \def\c:HColor:gray:{\def\HColor:gray##1 ##2//}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2019-08-30 23:54:39 UTC (rev 52000)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2019-08-31 21:18:04 UTC (rev 52001)
@@ -1,4 +1,4 @@
-% html4.4ht (2019-08-30-14:03), generated from tex4ht-html4.tex
+% html4.4ht (2019-08-31-14:16), generated from tex4ht-html4.tex
 % Copyright 2009-2019 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 2019-08-30-14:03}
+\immediate\write-1{version 2019-08-31-14:16}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -28681,13 +28681,21 @@
  \else \HCode{</span>}\fi  \egroup}
 
 \Configure{HColor:gray}{%
+  \if :#1:%
+   \int:of\:tempa{255}{#2}%
+  \else%
    \int:of\:tempa{255}{#1}%
+  \fi%
    \Configure{HColor}{}{rgb(\:tempa,\:tempa,\:tempa)}%
 }
 \Configure{HColor:rgb}{%
    \int:of\:tempa{255}{#1}%
    \int:of\:tempb{255}{#2}%
+   \if :#3:
+   \int:of\:tempc{255}{#4}%
+   \else%
    \int:of\:tempc{255}{#3}%
+   \fi%
    \Configure{HColor}{}{rgb(\:tempa,\:tempb,\:tempc)}%
 }
 \Configure{HColor:cmyk}{%
@@ -28694,7 +28702,11 @@
    \int:of\:Cyan{255}{#1}%
    \int:of\:Magenta{255}{#2}%
    \int:of\:Yellow{255}{#3}%
+   \if :#4:%
+   \int:of\:Black{255}{#5}%
+   \else%
    \int:of\:Black{255}{#4}%
+   \fi%
    \:cmyk\:tempa\:Cyan
    \:cmyk\:tempb\:Magenta
    \:cmyk\:tempc\:Yellow



More information about the tex-live-commits mailing list