[OS X TeX] how include .eps in TeXShop using default

Herbert Schulz herbs at wideopenwest.com
Tue Nov 8 13:13:44 CET 2011

On Nov 8, 2011, at 1:48 AM, Don Green Dragon wrote:

> Hi Herb,
>> <<snip>>
>> TeXShop uses pdflatex to typeset your file by default. The pdflatex program allows you to include jpg, png and pdf graphics by default but recent versions (I think this started in TeX Live (MacTeX) 2010 and continues in 2011) will also do a conversion of eps->pdf on the fly (it converts file.eps->file-eps-converted-to.pdf and includes that file). The important thing is to let the graphicx (I recommend the graphicx package, which is built on the graphics package but is easier to use) package figure out that you are using pdflatex by NOT including the [dvips] option in the \usepackage command.
> In my usual preamble, there exist:
> \usepackage{graphicx}	% allows use of \includegraphics{...} command
> \usepackage{epstopdf}	% changes an EPS graphic to PDF format. Required if one
> 			% does not supply a PDF file for \includegraphics{} command
> Are you saying that the line \usepackage{epstopdf} is no longer necessary? Normally I use .pdf graphic files, but have left the above in the preamble in case an .eps file comes along.
> Don Green Dragon
> fergdc at Shaw.ca


Yes, recent versions of TeX Live allow for a very restricted set of commands to be executed in the shell by default and MacTeX has this set. There is more information about this in a short pdf file you can find in /Applications/TeX/ (where TeXShop.app, etc., are found).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the macostex-archives mailing list