# [OS X TeX] Inclusion of TIFF files

Herbert Schulz herbs at wideopenwest.com
Thu Sep 7 05:24:08 CEST 2006

```On Sep 6, 2006, at 6:16 PM, Bruno Voisin wrote:

>
> So far Xe(La)TeX seems the only way on OS X. Quoting one message
> from Jonathan Kew (the developer of XeTeX) on the XeTeX list today:
>

Howdy,

I've used

\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1
`dirname #1`/`basename #1 .tif`.png}

along with the --shell-escape option (to allow external processing)
with pdflatex.

If you leave off the .tif in the \includegraphics command it will
only do the conversion once.

Note: the last two lines of the command should be on the same line
with a space between the trailing #1 and the leading `dirname on the
second line.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

```