[tex-live] What is the right way to include eps in latex for pdf generating?

Paul Vojta vojta at math.berkeley.edu
Sat Nov 8 23:10:52 CET 2014

On Sat, Nov 08, 2014 at 02:30:31PM -0600, Dan Luecking wrote:
> On Sat Nov 8, 2014, at 18:27:27 CET Askar Safin wrote:
> >>pdflatex can include them directly.
> >pdflatex doesn't work. Is this a bug? This is steps to reproduce:
> ><http://paste.debian.net/130881>http://paste.debian.net/130881 .
> >The bug also reproducible with TeXLive on Windows.
> For this to work automatically, the file has to have extension ".mps".
> (with no other dots) like file-1.mps, designating metapost output.

To get metapost to automatically generate its output files with names of this
sort, you can add the following line to your .mp files:

	outputtemplate := "%j-%c.mps";

--Paul Vojta, vojta at math dot berkeley period edu

More information about the tex-live mailing list