summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/meta-imp-dum.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-07-24 13:08:53 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-07-24 13:08:53 +0200
commit47852e5715e7c0374bb6bc173c1728908549e1ed (patch)
treee6df8c61ffb0aadfabbca7e9a33f10d1b61bde68 /tex/context/base/mkiv/meta-imp-dum.mkiv
parenta92a8d40ce567ecf5b0baacd9a93a94aac9a4a2d (diff)
downloadcontext-47852e5715e7c0374bb6bc173c1728908549e1ed.tar.gz
2019-07-24 11:24:00
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