1 Apr 15:25
Re: emacs + auctex : how do I compile a latex file from emacs?
Anthony M. Agelastos <iqgrande <at> asu.edu>
2005-04-01 13:25:53 GMT
2005-04-01 13:25:53 GMT
I forgot to mention that after you change that file, a reboot or two
may be needed for it to take effect.
On Apr 1, 2005, at 7:53 AM, Arnaud Delobelle wrote:
> Hi all
>
> I have just started using DarwinPorts on OSX (Panther). I have
> installed emacs 22.0.50+carbon and auctex 11.55_0 and it works fine
> except that if I want to compile a latex file from within emacs, using
> C-c C-c LaTex
> I get a 'latex: command not found' error
> (same for dvips, xdvi...)
>
> So there seems to be a problem with emacs's path. I thought maybe I
> had to include /opt/local/bin in emac's exec-path variable, which I
> tried with no success. I can't find any other path variable to set!
>
> exec-path is set to
> ("/usr/bin" "/bin" "/usr/sbin" "/sbin" "/Users/arno"
> "/opt/local/libexec/emacs/ 22.0.50/powerpc-apple-darwin7.8.0"
> "/opt/local/bin")
>
> But: M-x shell-command echo $PATH gives me
> /usr/bin:/bin:/usr/sbin:/sbin:/Users/arno
>
> What can I do next? BTW sorry if I am not posting to the right list.
>
> PS: Of course I have teTeX installed (by DarwinPorts, so it is all in
> /opt/local/bin)
(Continue reading)
RSS Feed