[metapost] MetaPost 0.992 and %&latex
vitacolo at dimi.uniud.it
Fri Dec 22 16:14:33 CET 2006
Sorry for the late reply.
In article <45825A3E.5010302 at elvenkind.com>,
Taco Hoekwater <taco at elvenkind.com> wrote:
> >> - Please try running
> >> tex --parse-first-line --interaction=nonstopmode mpxerr.tex
> >> manually (on the commandline) and see what happens in that case.
> > Ah, ok, that's a good suggestion! I get:
> > This is TeXk, Version 3.141592 (Web2C 7.5.5)
> > %&-line parsing enabled.
> > ---! /usr/local/gwTeX/texmf.local/web2c/latex.fmt was written by pdfetex
> > (Fatal format file error; I'm stymied)
> > It seems to be a problem with the format file. I am not very expert: do
> > you have any hint about what is happening?
> Your texmf.cnf needs an additional line containing
> TEX = pdfetex
> So that makempx will run 'pdfetex' instead of just 'tex'.
Setting the environment variable does not work in bash and tcsh, but
editing texmf.cnf did the trick. Thank you very much!
More information about the metapost