[NTG-context] Metapost -- What am I doing wrong

2005-12-25 Thread David Arnold
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

Re: [NTG-context] Metapost -- What am I doing wrong

2005-12-25 Thread Mojca Miklavec
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

Re: [NTG-context] Metapost -- What am I doing wrong

2005-12-25 Thread David Arnold
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