summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex17
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht12
3 files changed, 29 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index d2374fba2ca..d9bd881255e 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,8 @@
+2023-12-03 Michal Hoftich <michal.h21@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@gmail.com>
* tex4ht-mathml.tex (mathml.4ht): use <mtext> instead of <mrow> in
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index e163fca2d94..ae5be04ce32 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1412 2023-11-20 10:08:03Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1414 2023-12-03 21:09:44Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -28514,6 +28514,19 @@ second parameter.
>>>
+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 @@ original environment, and generated tags will be mismatched.
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\><<<
diff --git a/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht b/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht
index 18938c4376b..51afa62e1bb 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht
@@ -1,6 +1,6 @@
-% xcolor.4ht (2022-04-17-09:34), generated from tex4ht-4ht.tex
+% xcolor.4ht (2023-12-03-13:24), generated from tex4ht-4ht.tex
% Copyright 2007-2009 Eitan M. Gurari
-% Copyright 2009-2022 TeX Users Group
+% Copyright 2009-2023 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 2022-04-17-09:34}
+\immediate\write-1{version 2023-12-03-13:24}
\input color.4ht
\def\rowc@l@rs[#1]#2#3#4%
@@ -92,6 +92,12 @@
\edef#2{\#\tsf:color}%
}
+\: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
\Hinput{xcolor}
\endinput