[OS X TeX] Inclusion of TIFF files

Herbert Schulz herbs at wideopenwest.com
Wed Sep 6 23:24:08 EDT 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:


I've used

\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/

More information about the MacOSX-TeX mailing list