summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/meta-imp-dum.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/meta-imp-dum.mkiv')
-rw-r--r--tex/context/base/mkiv/meta-imp-dum.mkiv5
1 files changed, 3 insertions, 2 deletions
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