[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing auctex from source
From: |
David Kastrup |
Subject: |
Re: Installing auctex from source |
Date: |
Tue, 24 Feb 2009 16:34:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 23.02.2009 um 07:34 schrieb smanek:
>
>> Running `LaTeX' on `ps0' with ``latex -interaction=nonstopmode
>> "\input" document.tex''
>> /bin/sh: latex: not found
>
>
> Obviously GNU Emacs does not know where to search for the latex
> executable.
It calls a shell to do the search.
> This means that the process environment in which GNU Emacs runs does
> not have an environment variable PATH that contains the path to latex
> as one of many elements. The reason is that the complete value of PATH
> (or $PATH) was not inherited from whatever launched GNU Emacs.
>
> The cure is: correct GNU Emacs launch.
> Or correct the value of the GNU Emacs variable exec-path (to contain
> also the path to latex).
That does not help since the shell uses PATH, not exec-path, for
figuring out the location of latex.
--
David Kastrup