Thank you very much for sharing the configuration needed to compile with ConTeXt from Emacs. The standard AucTeX configuration does not allow to compile with the latest version of LMTX. And the information in AucTeX on how to change that is frankly deficient. To the point that I, who am an Emacs user for almost everything, when I write in ConTeXt I prefer to use Vim. Maybe on the Wiki, someone who knows how to configure AucTeX to work with ConTeX, could share the information. And I also think it would be a good idea to include there the definition and key bindings that Seyal Zavira has shared. El 17/6/24 a las 19:41, seyal zavira escribió: > In Emacs, I prefer use pure ConTeXt. > I have attached my Emacs init file. This setup is so satisfying. > You can compile your documents with just C-c c and view them with C-c v. > Also, you don't need to close the PDF after every compile (Evince will > restart the contents after compilation). > In GNOME, you can simply switch between windows using Alt+Tab. > I hope this is helpful! > > On Mon, Jun 17, 2024 at 1:36 PM Henning Hraban Ramm > wrote: > > 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 > > ___________________________________________________________________________________ > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist :ntg-context@ntg.nl /https://urldefense.com/v3/__https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaLIywNcD$ > webpage :https://urldefense.com/v3/__https://www.pragma-ade.nl__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaIICi8OX$ /https://urldefense.com/v3/__https://context.aanhet.net__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaD7Vsslq$ (mirror) > archive :https://urldefense.com/v3/__https://github.com/contextgarden/context__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaBElf__0$ > wiki :https://urldefense.com/v3/__https://wiki.contextgarden.net__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaD0w4BJv$ > ___________________________________________________________________________________ -- Joaquín Ataz López Departamento de Derecho civil Universidad de Murcia