On Mon, 10 Jan 2011, Jonas Stein wrote:
I put \runMPgraphicsfalse in the first line of test.tex. That changed nothing.
Do you have the metapost executable and format. Does a minimal metapost file work.
i think i have metapost installed:
# whereis mpost mpost: /usr/bin/mpost /usr/share/man/man1/mpost.1.gz
Does it work? That is if you compile beginfig(1) draw fullcircle scaled 3cm ; endfig ; end ; using `mp file.mp` do you get a correct file.1 file (open it using a ps viewer). Otherwise I don't know why you are getting erratic behavior with metapost. Sometimes, an extra run helps.
Hans response on the mailing list write 18 is a hack and pdfshellescape a sane replacement in luatex it will probably be gone completely since there we have \directlua 0 { os.execute("...") } """
I wonder if write18 is necessary 5 years later.
You need to use MkIV to get the new features :)
OK lets try. I have installed the package context 2010.07.30-1 [1] on my system.
I tried texexec --lua test.tex and context test.tex
but both generate no pdf.
they tell me: ==================== MTXrun | forcing cache reload MTXrun | resolvers: warning: no lua configuration files found MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using sufffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-context.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' ====================
As explained on http://wiki.contextgarden.net/Running_Mark_IV you need to run luatools --generate. (the format generation is now done automatically). Aditya