[tex4ht-commits] [SCM] tex4ht updated: r1113 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Sun Apr 17 12:39:06 CEST 2022
Author: michal_h21
Date: 2022-04-17 10:39:05 +0000 (Sun, 17 Apr 2022)
New Revision: 1113
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
trunk/lit/tex4ht-html4.tex
Log:
Fixed support for blended colors
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-04-14 14:55:19 UTC (rev 1112)
+++ trunk/lit/ChangeLog 2022-04-17 10:39:05 UTC (rev 1113)
@@ -1,3 +1,10 @@
+2022-04-17 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (xcolor.4ht),
+ * tex4ht-html4.tex (html4.4ht): fixed support for blended color
+ declarations in the form of `green!80!black`.
+ https://tex.stackexchange.com/a/641075/2891
+
2022-04-14 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (latex.4ht): fixed support for \labelformat in
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2022-04-14 14:55:19 UTC (rev 1112)
+++ trunk/lit/tex4ht-4ht.tex 2022-04-17 10:39:05 UTC (rev 1113)
@@ -27105,8 +27105,10 @@
%\expandafter\ifx \csname HColor!#1\endcsname\relax
\let\HColor=\relax
|<xcolor from def|>%
- \else
- \csname HColor!#1\endcsname #2//%
+ \else%
+ \ifcsname HColor!#1\endcsname%
+ \csname HColor!#1\endcsname #2//%
+ \fi%
\fi
}
\expandafter\def\csname c:HColor!gray:\endcsname{%
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2022-04-14 14:55:19 UTC (rev 1112)
+++ trunk/lit/tex4ht-html4.tex 2022-04-17 10:39:05 UTC (rev 1113)
@@ -16042,7 +16042,7 @@
{\gHAdvance\textcolorN by 1
\Configure{color}%
{\Configure{SetHColor}
- {\Css{span\#textcolor\textcolorN{color:\HColor}}}}%
+ {\ifx\HColor\@empty\else\Css{span\#textcolor\textcolorN{color:\HColor}}\fi}}%
\HCode{<span id="textcolor\textcolorN">}}%
{\HCode{</span>}}
>>>
More information about the tex4ht-commits
mailing list.