[OS X TeX] eps images in pdflatex

Bruno Voisin Bruno.Voisin at hmg.inpg.fr
Mon Sep 30 14:50:14 CEST 2002



Le lundi, 30 sep 2002, à 14:18 Europe/Paris, Peter Nillius a écrit :

> You can use eps image files directly in pdflatex. All
> you have to do is to include the packages
>
> \usepackage{graphicx}
> \usepackage{epstopdf}
>
> Also jpg (and I think png and tiff) images can be include directly in
> the TeX files. Pdflatex will do the conversion to pdf.
>
> Is this well known? I resently found this out and it seems to work
> fine.

It took me some time to find where this file epstopdf.sty lives (I had 
not rebuilt Locator's database for 78 days!), here it is:

/usr/local/teTeX/share/texmf/tex/latex/oberdiek/epstopdf.sty

Looking at the file, it seems to rely on shell-escape:

> % Required:  * The program `epstopdf'.
> %            * The feature `\write18' has to be enabled to get
> %              the conversion via the program epstopdf work:
> %              * command line option: -shell-escape
> %                example: pdflatex -shell-escape test.tex
> %              * configuraton file `texmf.cnf': shell_escape = 1

 From previous emails on this list, isn't there a problem with shell 
escapes under OS X 10.2?

In any case I just tried this esptopdf.sty package, it doesn't work for 
me, the .log file says:

> epstopdf Figures/surfgen.eps
> system()...disabled.
>
>
> Error: pdftex (file Figures/surfgen.pdf): cannot find image file

Could it be that you have Fink installed, or that you have customized 
your shell initialisation file?

Bruno Voisin

-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------




More information about the macostex-archives mailing list