diff options
author | Norbert Preining <norbert@preining.info> | 2024-05-10 03:00:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-05-10 03:00:55 +0000 |
commit | 889ef8595dafee235cb1106ec4efbdd3169481c2 (patch) | |
tree | 45863693da937beb703aee0e4407cc51cfc9956b /support/TeX4ht | |
parent | 1feed955eca29818ea536dba591c12b7b3b55003 (diff) |
Diffstat (limited to 'support/TeX4ht')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 6 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 5 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-html4.tex | 6 |
3 files changed, 12 insertions, 5 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 146207b308..d5ac53c7ee 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/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/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index aa73c275df..8d96fba96d 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/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/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex index 4fe364db38..4c591c9b37 100644 --- a/support/TeX4ht/source/tex4ht-html4.tex +++ b/support/TeX4ht/source/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} } >>> |