[metapost] MetaPost 0.992 and %&latex

Taco Hoekwater taco at elvenkind.com
Mon Dec 18 00:19:53 CET 2006


Karl Berry wrote:
>     Your texmf.cnf needs an additional line containing
>        TEX = pdfetex
> 
> Or you could set the environment variable TEX to pdfetex (I believe), if
> editing the right texmf.cnf is not obvious.  (Running
>   kpsewhich texmf.cnf  should tell you.)
> 
>   
> Taco, does the new makempx expect $TEX to create a .pdf, or still a
> .dvi, or does it matter?  The --help message (unchanged as far as I can
> recall) mentions .dvi but not .pdf.

Dvi, definately.

> If it's supposed to be a .dvi, I surmise that TEX should be set to
> "etex" rather than "pdfetex", since "pdfetex" creates a pdf by default.
> Unless makempx does something to force dvi mode.
> 
> Sorry if I'm missing something.

latex.fmt is written by pdfetex these days, right? So, when using the
%& trick, pdfetex sees the &latex; line, instructing it to create a dvi
file  (I hope).

Best, Taco


More information about the metapost mailing list