Hi José!!<div><br></div><div>Which OS do you have?? Leopard, Snow Leopard...</div><div>bests<br><br><div class="gmail_quote">On 9 March 2010 15:20, <span dir="ltr"><<a href="mailto:facenda@us.es">facenda@us.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi again,<br>
I had selected mactex 2009 64 bit in the notebook, and I get the error.<br>
If I select to compile without 64 bit, I don't get the error.<br>
So the problem is the 64 bit option.<br>
How can I fix that?<br>
Thanks for your time,<br>
<div class="im">José A. Facenda<br>
<br>
<br>
----- Mensaje original -----<br>
De: Herbert Schulz <<a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.com</a>><br>
Fecha: Martes, Marzo 9, 2010 2:15 pm<br>
</div>Asunto: Re: [OS X TeX] Using eps files<br>
<div class="im">A: TeX on Mac OS X Mailing List <<a href="mailto:macosx-tex@email.esm.psu.edu">macosx-tex@email.esm.psu.edu</a>><br>
<br>
</div><div><div></div><div class="h5">> On Mar 9, 2010, at 3:16 AM, José A. Facenda Aguirre wrote:<br>
><br>
> > Hi,<br>
> > thanks for the answer.<br>
> > I have installed MacTeX 2009 in a macbook pro and an imac i5.<br>
> > I have the problem in the notebook; imac has no problem. The<br>
> document contains these lines: (is latex template fron texshop)<br>
> ><br>
> > \documentclass[11pt]{amsart}<br>
> > \usepackage{graphicx}<br>
> > \usepackage{epstopdf}<br>
> > \DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname<br>
> #1`/`basename #1 .tif .png}<br>
> > \begin{document}<br>
> > \includegraphics[]{figure}<br>
> > \end{document}<br>
> > I have the file figure.eps<br>
> > The macbook pro gives the mentioned error but the imac works well.<br>
> What's the problem in the notebook?<br>
> > Any help would be appreciated<br>
> > José A. Facenda<br>
> ><br>
><br>
> Howdy,<br>
><br>
> I have no problem compiling your document! This is with MacTEX-2009<br>
> and TeXShop 2.33. Did you check that there is a --shell-escape option<br>
> set for the pdflatex engine in<br>
> TeXShop->Preferences->Engine->pdfTeX->Tex & Latex: the lines should<br>
> look like<br>
><br>
> pdftex --shell-escape --synctex=1 --file-line-error<br>
><br>
> and<br>
><br>
> pdflatex --shell-escape --synctex=1 --file-line-error<br>
><br>
> respectively. The --shell-escape option is needed by the epstopdf<br>
> package since it must access the command line from within your<br>
> pdflatex run.<br>
><br>
> One other thing, although it has nothing to do with your problem: the<br>
> epstopdf package was updated for MacTeX(TeX Live)-2009 and the way<br>
> your set up new conversions has changed. Instead of<br>
><br>
> > \DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname<br>
> #1`/`basename #1 .tif .png}<br>
><br>
><br>
> you should use<br>
><br>
> \epstopdfDeclareGraphicsRule{.tif}{png}{.png}{convert #1 \OutputFile}<br>
> \PrependGraphicsExtensions{.tif}<br>
><br>
> Note that the epstopdf package that comes with MacTeX-2009 also does a<br>
> conversion figure.eps->figure-eps-converted-to.pdf rather than<br>
> figure.eps->figure.pdf. It also appends. rather than prepends, the<br>
> .eps extension to the list of extensions to look for. That means that<br>
> if it finds a figure.pdf it will use it even if you want it ti use<br>
> figure.eps. You can get back original behavior by creating a file<br>
> named epstopdf-sys.cfg that contains the lines<br>
><br>
> % to get old behavior foo.eps->foo.pdf as well as update,prepend<br>
> \epstopdfsetup{program@epstopdf=epstopdf,verbose,update,prepend,prefersuffix=false,suffix=}<br>
> % tif->png<br>
> \epstopdfDeclareGraphicsRule{.tif}{png}{.png}{convert #1 \OutputFile}<br>
> \PrependGraphicsExtensions{.tif}<br>
><br>
> and place it in ~/Library/texmf/tex/latex/config/ (create necessary<br>
> nested folders as needed and ~ is your HOME directory). With the file<br>
> above the ability to convert tif->png will be loaded automatically too<br>
> so you won't need it in your source file.<br>
><br>
> Good Luck,<br>
><br>
> Herb Schulz<br>
> (herbs at wideopenwest dot com)<br>
><br>
><br>
><br>
> ----------- Please Consult the Following Before Posting -----------<br>
> TeX FAQ:<br>
</div></div><div class="im">> List Reminders and Etiquette:<br>
> List Archive:<br>
</div><div class="im">> TeX on Mac OS X Website:<br>
</div>> List Info:<br>
<div><div></div><div class="h5">><br>
----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="http://email.esm.psu.edu/mac-tex/" target="_blank">http://email.esm.psu.edu/mac-tex/</a><br>
List Archive: <a href="http://tug.org/pipermail/macostex-archives/" target="_blank">http://tug.org/pipermail/macostex-archives/</a><br>
TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" target="_blank">http://mactex-wiki.tug.org/</a><br>
List Info: <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-tex" target="_blank">http://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Atte: Sr. Sur<br><br>
</div>