auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] AUCTeX isn't seeing pdflatex


From: Piet van Oostrum
Subject: Re: [AUCTeX] AUCTeX isn't seeing pdflatex
Date: Fri, 05 Dec 2008 13:23:57 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin)

>>>>> Will Farrington <address@hidden> (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 <address@hidden>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]