unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Installing auctex from source
Date: Tue, 24 Feb 2009 16:34:27 +0100	[thread overview]
Message-ID: <85iqmzrgqk.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.1529.1235380954.31690.help-gnu-emacs@gnu.org

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


      parent reply	other threads:[~2009-02-24 15:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23  6:34 Installing auctex from source smanek
2009-02-23  9:22 ` Peter Dyballa
2009-02-23  9:34 ` Rupert Swarbrick
     [not found] ` <mailman.1529.1235380954.31690.help-gnu-emacs@gnu.org>
2009-02-24 15:34   ` David Kastrup [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85iqmzrgqk.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).