All,
I am having trouble getting the latest edition of Context to allow me to
work through the Metafun manual.
This, saved as grid.tex:
\setupoutput[pdf]
\runMPgraphicstrue
\setupcolors[state=start]
\startuseMPgraphic{test}
drawoptions(withpen pencircle scaled 1pt withcolor 0.625yellow);
draw hlingrid(0,10,1,3cm,3cm);
draw vlingrid(0,10,1,3cm,3cm);
\stopuseMPgraphic
\starttext
\useMPgraphic{test}
\stoptext
Gives this error when compiled with:
texexec --pdf grid
(mpgraph.mp (C:\texmf\metapost\context\base\mp-tool.mp)
(C:\texmf\metapost\context\base\mp-spec.mp)
(C:\texmf\metapost\context\base\mp-grph.mp)
(C:\texmf\metapost\context\base\mp-page.mp)
(C:\texmf\metapost\context\base\mp-core.mp)
>> hlingrid
! Improper `addto'.
<to be read again>
withpen
draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
.currentpen.fi._op_
<to be read again>
(
l.221 draw hlingrid(
0,10,1,3cm,3cm);
?
Does anyone else get the same error after downloading and installing the
latest version of Context?
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context