[OS X TeX] Search order graphics extension

Herbert Schulz herbs at wideopenwest.com
Fri Feb 11 03:24:29 CET 2011


On Feb 10, 2011, at 8:17 PM, Justin C. Walker wrote:

> 
> On Feb 10, 2011, at 17:53 , Herbert Schulz wrote:
> 
> [snip]
>>>> I actually have an epstopdf.cfg file (in ~/Library/texmf/tex/latex/config/) that has
>>>> 
>>>> % to get old behavior foo.eps->foo.pdf as well as update,prepend
>>>> \epstopdfsetup{verbose,update,prepend,prefersuffix=false,suffix=}
>>>> % tif->png
>>>> \epstopdfDeclareGraphicsRule{.tif}{png}{.png}{convert #1 \OutputFile}
>>>> \PrependGraphicsExtensions{.tif}
>>>> % tiff->png
>>>> \epstopdfDeclareGraphicsRule{.tiff}{png}{.png}{convert #1 \OutputFile}
>>>> \PrependGraphicsExtensions{.tiff}
>>>> 
>>>> which will give automatic conversion of tif(f)f->png ans well as get the old behavior of foo.eps->foo.pdf, etc., which I like. Note: the tif(f)->png will only run with shell-escape enabled.
>>> 
>>> Thank you for the excellent hint, Herb!
>>> 
>> 
>> Howdy,
>> 
>> The information is also in EpsAndPdflatex2010.pdf.zip available at <http://public.me.com/herbs2>.
> 
> I just downloaded this, and don't see the same information in your PDF as is given above.  Or, at least, not with the same accompanying, and helpful, text :-}  The .cfg file is only mentioned once, in connection with .tiff conversions.
> 
> Justin

Howdy,

Yeah... the stuff about the converted file name is left out since that is not generally what most people care to control but something I'm used to seeing from ``older days.''

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list