hi @all,
i am trying set up TextMate for using latexmk.pl as describe in http://plesslweb.ch/2007/04/02/setting-up-latex-on-mac-os-x/ and , but am running into some problems. The symptom is
! LaTeX Error: Unknown graphics extension: .eps.
See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ...
l.72 ...\includegraphics[width=80mm]{pics/au4.eps}
? ! Emergency stop. ...
l.72 ...\includegraphics[width=80mm]{pics/au4.eps}
Try typing <return> to proceed. If that doesn't work, type X <return> to quit.
and, yes, i have
\usepackage{graphicx}
on my main file.
At this point I should say that I'm able to successfully compile the project with TeXShop, but not with latexmk (simple manual latex + bibtex + latex). In Linux, latexmk is doing the job perfectly. What I guess might be the source of the problem is that I have two latex installations, so i am guessing that One is texlive2007, and the other results from installing too much stuff in Fink.
So, my question would be: how can I correctly setup TextMate/latexmk so that it is going to use the correct installation? Are there any path variables that need setting, or simply an explicit TEXINPUTS?
Any help would be greatly appreciated!
Miguel,
What version of TextMate are you using? Are you using the Latex bundle that came with TextMate or did you get a newer copy from subversion?
If you could include all of the output from the Typeset & View window that could help identify the problem as well.
Thanks,
Brad
Miguel,
Here's a shorter answer... latexmk as run by TextMate is configured to run pdflatex, since you are trying to include eps files I assume you want to run plain latex.
I'm going to have to think a little bit to see if there is a way to on-the-fly tell latexmk.pl to use plain latex instead.
Brad
The latest version of the Latex bundle should do exactly what you want now.
latexmk will now use whatever typesetting engine you have chosen in the preferences window (or by using the %!TEX TS-program directive.) Any options you specify are also passed through to latexmk.
If you haven't checked out bundles from the subversion repository before the instructions are in section 5.7 of the TextMate documentation.
Brad