texlive[71221] Master/texmf-dist: more colors, tex4ht r1516
commits+karl at tug.org
commits+karl at tug.org
Thu May 9 23:38:51 CEST 2024
Revision: 71221
https://tug.org/svn/texlive?view=revision&revision=71221
Author: karl
Date: 2024-05-09 23:38:51 +0200 (Thu, 09 May 2024)
Log Message:
-----------
more colors, tex4ht r1516
Revision Links:
--------------
https://tug.org/svn/texlive?view=revision&revision=1516
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-05-09 19:26:34 UTC (rev 71220)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-05-09 21:38:51 UTC (rev 71221)
@@ -1,3 +1,9 @@
+2024-05-09 Michal Hoftich <michal.h21 at 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 at vtex.lt>
* tex4ht-4ht.tex (latex.4ht, amsmath.4ht): fixed restoring of \begin
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-05-09 19:26:34 UTC (rev 71220)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-05-09 21:38:51 UTC (rev 71221)
@@ -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 @@
\else%
\ifcsname HColor!#1\endcsname%
\csname HColor!#1\endcsname #2//%
+ \else
+ \get:xcolorcss{#1!#2}{\HColor}%
+ \Configure{HColor}{\current:color:name}{\HColor}%
\fi%
\fi
}
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2024-05-09 19:26:34 UTC (rev 71220)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2024-05-09 21:38:51 UTC (rev 71221)
@@ -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 @@
\<configure html4 xcolor\><<<
\Configure{HColor!gray}{%
- \XC at c@lcD\rangeGray{}{#1}\@@tmp
- \int:of\:tempa{255}{\@@tmp}%
- \Configure{HColor}{}{rgb(\:tempa,\:tempa,\:tempa)}%
+ \get:xcolorcss{gray!#1}{\HColor}
}
>>>
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2024-05-09 19:26:34 UTC (rev 71220)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2024-05-09 21:38:51 UTC (rev 71221)
@@ -1,4 +1,4 @@
-% html4.4ht (2024-04-24-13:39), generated from tex4ht-html4.tex
+% html4.4ht (2024-05-09-14:07), generated from tex4ht-html4.tex
% Copyright 2009-2024 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 2024-04-24-13:39}
+\immediate\write-1{version 2024-05-09-14:07}
\exit:ifnot{8859-6,%
CJK,%
@@ -28974,9 +28974,7 @@
\fi
}}
\Configure{HColor!gray}{%
- \XC at c@lcD\rangeGray{}{#1}\@@tmp
- \int:of\:tempa{255}{\@@tmp}%
- \Configure{HColor}{}{rgb(\:tempa,\:tempa,\:tempa)}%
+ \get:xcolorcss{gray!#1}{\HColor}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht 2024-05-09 19:26:34 UTC (rev 71220)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht 2024-05-09 21:38:51 UTC (rev 71221)
@@ -1,6 +1,6 @@
-% xcolor.4ht (2023-12-03-13:24), generated from tex4ht-4ht.tex
+% xcolor.4ht (2024-05-09-14:07), generated from tex4ht-4ht.tex
% Copyright 2007-2009 Eitan M. Gurari
-% Copyright 2009-2023 TeX Users Group
+% Copyright 2009-2024 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 2023-12-03-13:24}
+\immediate\write-1{version 2024-05-09-14:07}
\input color.4ht
\def\rowc at l@rs[#1]#2#3#4%
@@ -74,6 +74,9 @@
\else%
\ifcsname HColor!#1\endcsname%
\csname HColor!#1\endcsname #2//%
+ \else
+ \get:xcolorcss{#1!#2}{\HColor}%
+ \Configure{HColor}{\current:color:name}{\HColor}%
\fi%
\fi
}
More information about the tex-live-commits
mailing list.