>>>>> Will Farrington <[EMAIL PROTECTED]> (WF) wrote: >WF> I'm using a hand-compiled copy of Emacs from HEAD. All dependencies are >WF> installed. I can run pdflatex fine from the terminal (I added /usr/ texbin >WF> to both PATH in ~/.profile and 'exec-path in my emacs config). However, >WF> when running the LaTeX command inside PDFLaTeX mode of AUCTeX, I get log >WF> output:
>WF> Running `LaTeX' on `foo' with ``pdflatex -interaction=nonstopmode >WF> "\input" foo.tex'' >WF> /bin/sh: pdflatex: command not found >WF> LaTeX exited abnormally with code 127 at Mon Dec 1 22:00:09 >WF> Any idea what I might be able to do to solve it? Your emacs probably hasn't /usr/texbin in its PATH. I guess you are using Mac OS X (because of /usr/texbin) and using Emacs.app or similar. In Mac OS X the settings of path in your .profile etc (those for shells) don't propagate to GUI programs like Emacs. You can add it to exec-path, or set the PATH env var in ~/.MacOSX/environment.plist (although some people are opposed to this). BTW: always specify your OS, Emacs version and TeX installation with this kind of questions. -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED] _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
