All,
Can someone tell me what I am doing wrong here?
%Ouput=pdf
\setupcolors[state=start]
\definecolor[gridlines][s=0.7]
\startMPinclusions
color gridlines; gridlines=\MPcolor{gridlines}
\stopMPinclusions
\startMPgraphic{create function path f 5-by-5}
%define clipping path
path
David Arnold wrote:
All,
Can someone tell me what I am doing wrong here?
\useMPgraphic is meant to include whole figures inside text, not for
including portions of other metapost code inside metapost.
What you can do is to define new functions inside \startMPinclusions
... \stopMPinclusions
Good stuff! :-)
% I don't know how to give the function as an argument,
% so I cheated and copied it here once more
vardef create_function_path_f =
See metafun-s.pdf page 370 and mp-func.mp.
___
ntg-context mailing list