[metapost] MetaPost 0.992 and %&latex

Nicola Vitacolonna vitacolo at dimi.uniud.it
Fri Dec 15 10:45:03 CET 2006


On 15/dic/06, at 09:18, Taco Hoekwater wrote:

> Nicola Vitacolonna 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'.
>
> CC to the mailing list because I am not sure where the texmf.cnf  
> resides
> in gwTeX.

I see that a few format files fail to build during the configuration  
phase (etex and pdfetex among them), due to errors. If this is the  
problem, then it is a distribution specific one (latest gwTeX on Mac  
OS X).

Nicola


More information about the metapost mailing list