[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: metapost rebuilds mpost.mem everytime



Hallo Frank,

Frank Küster <frank@debian.org> wrote:
> Jörg Sommer <joerg@alea.gnuu.de> wrote:
>
>> % mpost resolution.mp 
>> This is MetaPost, Version 0.993 (Web2C 7.5.6)
>> (resolution.mp (/usr/share/texmf-texlive/metapost/base/TEX.mp)makempx: Command failed: tex --parse-first-line --interaction=nonstopmode mpxerr.tex; see mpxerr.log
>>
>>>> resolution.mp
>>>> resolution.mpx
>> ! Unable to make mpx file.
>> l.64 label(btex
>>                 $R$ etex, p[0]-(0,3)*le) ;
>> Transcript written on resolution.log.
>> zsh: exit 1     mpost resolution.mp
>> % cat mpxerr.log 
>> % tex --parse-first-line --interaction=nonstopmode mpxerr.tex
>> This is TeXk, Version 3.141592 (Web2C 7.5.6)
>>  %&-line parsing enabled.
>> ---! /var/lib/texmf/web2c/pdftex/latex.fmt was written by pdftex
>> (Fatal format file error; I'm stymied)
>> zsh: exit 1     tex --parse-first-line --interaction=nonstopmode mpxerr.tex
>>
>> I can delete and rebuild the file latex.fmt with fmtutil-sys --missing,
>> but nothing changes.
>
> SOLUTION
>
> diff -ub src/Upstream-source/TeXLive/Master/texmf/web2c/texmf.cnf /etc/texmf/texmf.cnf 
> [...]
> -% Used by makempx to run TeX.  We use "etex" because MetaPost is
> -% expecting DVI, and not "tex" because we want first line parsing.
> -TEX = etex
> -
>
> This, and more, is missing in our texmf.cnf

And now, it works. I've put “TEX = etex” at the end of the file
texmf.cnf. Thanks for your help.

Bye, Jörg.
-- 
Der kommt den Göttern am nächsten, der auch dann schweigen kann,
wenn er im Recht ist.                         (Cato; 234–149 v. Chr.)



Reply to: