From 47852e5715e7c0374bb6bc173c1728908549e1ed Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 24 Jul 2019 13:08:53 +0200 Subject: 2019-07-24 11:24:00 --- tex/context/base/mkiv/meta-imp-dum.mkiv | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tex/context/base/mkiv/meta-imp-dum.mkiv') diff --git a/tex/context/base/mkiv/meta-imp-dum.mkiv b/tex/context/base/mkiv/meta-imp-dum.mkiv index 481afe82a..b84d4ac7a 100644 --- a/tex/context/base/mkiv/meta-imp-dum.mkiv +++ b/tex/context/base/mkiv/meta-imp-dum.mkiv @@ -66,7 +66,7 @@ if cmykcolor \MPvar{color} : cmykcolor c, b ; b := (0,0,0,0) else : - color c, b ; ; b := (1,1,1) + color c, b ; b := (1,1,1) fi ; c := \MPvar{color} ; w := \MPvar{width} ; @@ -92,7 +92,7 @@ {width=\figurewidth,% height=\figureheight,% reduction=\externalfigureparameter\c!reduction,% - color=placeholder:\the\c_grph_replacement_n}] + color=placeholder:\the\c_grph_replacement_n}] % weird, why do we need to prefix the palette \definepalet [placeholder] @@ -108,6 +108,7 @@ \unexpanded\def\grph_include_replacement#1#2#3% {\begingroup +% \setuppalet[placeholder]% \getpaletsize[placeholder]% \ifnum\c_grph_replacement_n=\zerocount \getrandomnumber \m_grph_replacement_n\plusone\paletsize -- cgit v1.2.3