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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Dec 3 22:09:44 CET 2023


Author: michal_h21
Date: 2023-12-03 21:09:44 +0000 (Sun, 03 Dec 2023)
New Revision: 1414

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Added the color option

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-11-21 16:43:06 UTC (rev 1413)
+++ trunk/lit/ChangeLog	2023-12-03 21:09:44 UTC (rev 1414)
@@ -1,3 +1,8 @@
+2023-12-03  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (xcolor.4ht): added the "color" option.
+	https://tex.stackexchange.com/a/470290/2891
+
 2023-11-21  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathml.tex (mathml.4ht): use <mtext> instead of <mrow> in

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-11-21 16:43:06 UTC (rev 1413)
+++ trunk/lit/tex4ht-4ht.tex	2023-12-03 21:09:44 UTC (rev 1414)
@@ -28514,6 +28514,19 @@
 
 >>>
 
+This code comes from this \Link[https://tex.stackexchange.com/a/470290/2891]{}{}answer\EndLink.
+See the comments for possible shortcommings.
+
+\<config xcolor\><<<
+\:CheckOption{color}\if:Option
+\pend:defI\@declaredcolor{%
+  \ifdefined\end:def:color\end:def:color\else\aftergroup\b:textcolor\fi
+  \a:textcolor\def\end:def:color{\b:textcolor}%
+}
+\fi
+>>>
+
+
 We need to use dvips driver with XeLaTeX
 
 \<add to usepackage\><<<
@@ -29774,7 +29787,7 @@
 This code postpones execution of code from the "after" key after
 closing of the Enumitem environment, so it can be correctly closed.
 
-See \Link[https://tex.stackexchange.com/q/642439/2891] this example
+See \Link[https://tex.stackexchange.com/q/642439/2891]{}{} this example
 what can go wrong\EndLink.
 
 \<enumitem config\><<<



More information about the tex4ht-commits mailing list.