[NTG-context] linear_shade not working any more
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Tue Jul 18 23:57:28 CEST 2006
Hello,
It seems to me that the following code worked in some beta 2 weeks ago:
\setupcolors
[state=start]
\definecolor
[BgColor1]
[white]
\definecolor
[BgColor2]
[r=0.7,g=0.7,b=1]
\starttext
\startMPcode
path p; p := unitsquare scaled 3cm;
linear_shade(p,0,\MPcolor{BgColor2},\MPcolor{BgColor1});
\stopMPcode
\stoptext
But with 2006.07.14 I get:
This is MetaPost, Version 0.901 (Web2c 7.5.3)
(shading-mpgraph.mp
>> (1,0,0)
! Isolated expression.
<to be read again>
;
scaledgray->begingroup.red;
endgroup
l.286 ...(scaledrgb(0.7,0.7,1,1)),(scaledgray(1,1)
));
?
Any suggestions about what could go wrong?
Thank you,
Mojca
More information about the ntg-context
mailing list