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

--
Brad Miller
Assistant Professor, Computer Science
Luther College

On 9/7/07, Miguel Vaz <hepaminondas@gmail.com> wrote:
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!

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate