[latex3-commits] [git/LaTeX3-latex3-latex3] luacolor: Improve compatibility with colorstack whatsits (2f6c18e1f)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Feb 16 13:48:00 CET 2023
Repository : https://github.com/latex3/latex3
On branch : luacolor
Link : https://github.com/latex3/latex3/commit/2f6c18e1ff3ecfe7bcd8fec30eab16647aa1af97
>---------------------------------------------------------------
commit 2f6c18e1ff3ecfe7bcd8fec30eab16647aa1af97
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Thu Jun 10 11:08:48 2021 +0200
Improve compatibility with colorstack whatsits
>---------------------------------------------------------------
2f6c18e1ff3ecfe7bcd8fec30eab16647aa1af97
l3backend/l3backend-color.dtx | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/l3backend/l3backend-color.dtx b/l3backend/l3backend-color.dtx
index 6025dd42c..d68c25af6 100644
--- a/l3backend/l3backend-color.dtx
+++ b/l3backend/l3backend-color.dtx
@@ -1464,12 +1464,11 @@ local node_types = {
[id("glyph")] = id_color ,
[id("disc")] = id_list_disc ,
[id("whatsit")] = {
- [subtype("pdf_colorstack")] =
- function(n) return n.stack == 0 and id_no_color or nil end ,
- [subtype("special")] = id_color ,
- [subtype("pdf_literal")] = id_color ,
- [subtype("pdf_save")] = id_color ,
- [subtype("pdf_restore")] = id_color ,
+ [subtype("special")] = id_color ,
+ [subtype("pdf_colorstack")] = id_color ,
+ [subtype("pdf_literal")] = id_color ,
+ [subtype("pdf_save")] = id_color ,
+ [subtype("pdf_restore")] = id_color ,
} ,
[id("glue")] =
function(n)
More information about the latex3-commits
mailing list.