2009/10/27 luigi scarso
On Tue, Oct 27, 2009 at 1:02 PM, Matěj Týč
wrote: Hello, when I try to use MP code in my file, I follow the instructions, but when I compile the file, there is no result whatsoever. Text parts of the document are OK, but there is no trace of the image that should be there.
The following is taken directly from metafun manual (page 9) as the minimal ConTeXt example:
\starttext \startuseMPgraphic{dummy} fill fullcircle scaled 5cm withcolor red ; \stopuseMPgraphic \useMPgraphic{dummy} \stoptext
Well, I get nothing on my setup as well as if I use the online compiler. Therefore I assume that something must be wrong. Could you comment on that?
\setupcolors[state=start] \starttext \startuseMPgraphic{dummy} fill fullcircle scaled 5cm withcolor red ; \stopuseMPgraphic \useMPgraphic{dummy} \stoptext
No problem here with latest minimals and $>texexec test.tex and $>context test.tex
Thank you for your reply, 1. I have completely missed that I have to run 'context' after texexec. I actually have read only about running texexec. Moreover the "contex online" ( http://live.contextgarden.net/ ) site most likely doesn't do that either since they produce empty PDFs if you paste those lines in the form. 2. I have TeXLive installed and when I run 'context', I get a MTXrun | unknown script 'context.lua' or 'mtx-context.lua' sortof error and exit code 1. Any suggestions on what can be wrong? Regards, Matej