# [texhax] Importing images into TexShop doc

Reinhard Kotucha reinhard.kotucha at web.de
Sun Apr 27 14:56:55 CEST 2014

On 2014-04-27 at 04:56:06 -0700, Keith Devlin wrote:

> I am trying to convert an old Textures LaTeX document to run in
> TexShop, and it has a lot of images. The old commands all have the
> general form
>
> \begin{figure}
> \vspace{2.5in} \hspace{1.4in}
> \special{picture eulercircles.PICT scaled 600}
> \end{figure}
>
> WhatÕs the easiest equivalent in TexShop, what packages do I need,
> where do I find them, and where do I install them? I tried a few
> approaches based on suggestions I found on the Web, including
> a TeX Inputs folder to put it into, and simply replacing the old
> \special command by \includegraphics[scale=1.0]{eulercircles.PICT}
> got me nowhere.

If you are using pdflatex then you have to convert the images to PDF.
A tool which converts images is ImageMagick:

http://www.imagemagick.org/

You can run convert from a command line:

convert eulercircles.PICT eulercircles.pdf

Or, if you have to convert many if them:

for f in *.PICT; do convert $f${f%%PICT}pdf; done

Regards,
Reinhard

--
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------