I recently ran into trouble with inline mp graphics, using tetex.
Metapost terminated with some memory access problems. Finally, I spotted
the reason, and I thought it might be of interest for some people around
here.

I had added a line to fmtutil to generate the metafun format. The
straightforward solution was:

metafun         mpost           -               metafun.mp

However, since metapost thinks its name should be 'metafun' when the
format is now generated by fmtutil, a later call by context/texexec with
the option progname=mpost causes an immediate termination.
I have chosen to add

metafun         mpost           -               -progname=mpost
metafun.mp

to fmtutil.cnf instead, and everything works fine now.


Eckhart


Reply via email to