I'm running OS X 10.7 with Emacs 24, Auctex 11.86 and TexLive 2011 via MacTex.
When i run LaTeX through Emacs in the terminal it outputs my
test.pdf just fine.
However, when i run the same file through Auctex in Emacs.app it fails and I'm given:
LaTex: problems after  pages'
and the output reads
Running `LaTeX' on `test2' with ``pdflatex -synctex=1 -interaction=nonstopmode "\input" test2.tex'' /bin/sh: pdflatex: command not found
I've been googling this and know this is a fairly common problem, but for the life of me I haven't been able to implement a fix. From what I've read it seems Emacs has a different
PATH than terminal, no? Can someone please explain to me how to fix the
environment variable (I'm not sure which) so that Emacs can find pdflatex. Is there something I need to change in my