summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex6
3 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 146207b308c..d5ac53c7ee7 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2024-05-09 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (xcolor.4ht),
+ * tex4ht-html4.tex (html4.4ht): added support for more colors.
+ https://tex.stackexchange.com/q/716339/2891
+
2024-05-07 Linas Stonys <lstonys@vtex.lt>
* tex4ht-4ht.tex (latex.4ht, amsmath.4ht): fixed restoring of \begin
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index aa73c275dff..8d96fba96d9 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 1515 2024-05-07 15:21:27Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1516 2024-05-09 13:28:51Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -28716,6 +28716,9 @@ fragments.
\else%
\ifcsname HColor!#1\endcsname%
\csname HColor!#1\endcsname #2//%
+ \else
+ \get:xcolorcss{#1!#2}{\HColor}%
+ \Configure{HColor}{\current:color:name}{\HColor}%
\fi%
\fi
}
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
index 4fe364db384..4c591c9b373 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1511 2024-04-24 12:46:19Z michal_h21 $
+% $Id: tex4ht-html4.tex 1516 2024-05-09 13:28:51Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -16313,9 +16313,7 @@ Blue = 1-minimum(1,Yellow *(1-Black)+Black)
\<configure html4 xcolor\><<<
\Configure{HColor!gray}{%
- \XC@c@lcD\rangeGray{}{#1}\@@tmp
- \int:of\:tempa{255}{\@@tmp}%
- \Configure{HColor}{}{rgb(\:tempa,\:tempa,\:tempa)}%
+ \get:xcolorcss{gray!#1}{\HColor}
}
>>>