[texworks] EPS images

Herbert Schulz herbs at wideopenwest.com
Wed Sep 9 19:01:35 CEST 2009


On Sep 9, 2009, at 11:18 AM, Lukas Klausner wrote:

> Okay, the solution proposed (simpdftex latex --extratexopts
> "-synctex=1" <filename>) worked fine. However, regarding this:
>
>>> First, TeX Live 2009 (to be released soon) includes a new version  
>>> of the
>>> epstopdf package which performs on-the-fly conversion of EPS files  
>>> when
>>> compiled with pdfTeX.
>
> Just to make sure – you did mean pdfLaTeX, right?

Howdy,

Even in MacTeX-2008 if you use the epstopdf package when using  
pdflatex the foo.eps file will be converted to foo.pdf on the fly. My  
suggestion is to use

\usepackage[update,prepend]{epstopdf}

and then if foo.eps is updated the conversion will happen again on the  
next run.

The difference in MacTeX-2009 will be that using the graphic(s/x)  
package and using pdflatex will automatically use the epstopdf package  
with defaults [update,append] and the default conversion is foo.eps- 
 >foo-eps-converted-to.pdf. The choice of the [append] option means  
that if you use

\includegraphics{foo}

and both foo.pdf and foo.eps are present the pdf file will take  
precedence. To guarantee that the eps file is used you should use

\includegraphics{foo.eps}

while with the [prepend] option would find the eps first.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)





More information about the texworks mailing list