ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: context / auctex problem?
Date: Mon, 17 Jun 2024 19:23:38 +0200	[thread overview]
Message-ID: <c112c6f9-d328-43f9-b529-365b8c32d015@fiee.net> (raw)
In-Reply-To: <20240617141543.Horde.uRhvY4mty7l-ZqM8NEU02Hx@home.staff.uni-marburg.de>

Am 17.06.24 um 14:15 schrieb Jürgen Hanneder via ntg-context:
> 
> Apologies for this question, which is probably an auctex problem. I have 
> a new install of everything
> (LinuX, emacs, texlive) and the latest (?) context (ConTeXt ver: 
> 2024.05.27 18:16 LMTX) 

Latest ist today’s, but that’s not the problem.

> installed in
> a separate directory.
> 
> Running context from the commandline works fine, so I guess I did not 
> misspell the path,
> but when running "Context All" from emacs, the error is:
> 
> -----
> Running `ConTeXt' on `context-test' with ``context --once  --nonstop 
> context-test.tex''
> /bin/sh: Zeile 1: context: Kommando nicht gefunden.
> 
> TeX Output exited abnormally with code 127 at Mon Jun 17 14:03:03
> ------

Apparently, your Emacs doesn’t use the same PATH as your terminal.

The error message is from /bin/sh, I guess you usually run bash, zsh or 
the like, and that gets its PATH from .bashrc or something like that.

Check how Emacs calls that script, and if you can define a PATH.

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-06-17 17:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-17 12:15 [NTG-context] " Jürgen Hanneder via ntg-context
2024-06-17 17:23 ` Henning Hraban Ramm [this message]
2024-06-17 17:41   ` [NTG-context] " seyal zavira
2024-06-17 17:55     ` Joaquín Ataz López
2024-06-17 19:04       ` Peter Münster
2024-06-18  5:34 ` [NTG-context] " Lizardo Reyna via ntg-context
2024-06-18  9:23   ` [NTG-context] " Jürgen Hanneder via ntg-context
2024-06-19 13:43     ` Jim
2024-06-18 14:12   ` [NTG-context] Re: context / auctex problem? half-solved Jürgen Hanneder via ntg-context

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

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

  git send-email \
    --in-reply-to=c112c6f9-d328-43f9-b529-365b8c32d015@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /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 NNTP newsgroup(s).