[latex3-commits] [git/LaTeX3-latex3-latex3] luacolor: Improve compatibility with colorstack whatsits (14a21bd7b)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Feb 16 14:07:14 CET 2023
Repository : https://github.com/latex3/latex3
On branch : luacolor
Link : https://github.com/latex3/latex3/commit/14a21bd7b57086858e344f70bb278acc41acfa32
>---------------------------------------------------------------
commit 14a21bd7b57086858e344f70bb278acc41acfa32
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Thu Jun 10 11:08:48 2021 +0200
Improve compatibility with colorstack whatsits
>---------------------------------------------------------------
14a21bd7b57086858e344f70bb278acc41acfa32
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 cffa494c7..3bd85d7e7 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.