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 via email to