From: "Joaquín Ataz López" <jal@um.es>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: context / auctex problem?
Date: Mon, 17 Jun 2024 19:55:47 +0200 [thread overview]
Message-ID: <eeb08c04-f9f0-4647-a4de-e800f47909f2@um.es> (raw)
In-Reply-To: <CADiGc-mQ=mBynZ3TUWPTxLOwQG1hKR_OLtZ2LuBsPKsUD2FPvA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 5032 bytes --]
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 <texml@fiee.net>
> 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
> <https://urldefense.com/v3/__https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaLIywNcD$>
> webpage : https://www.pragma-ade.nl
> <https://urldefense.com/v3/__https://www.pragma-ade.nl__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaIICi8OX$>
> / https://context.aanhet.net
> <https://urldefense.com/v3/__https://context.aanhet.net__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaD7Vsslq$>
> (mirror)
> archive : https://github.com/contextgarden/context
> <https://urldefense.com/v3/__https://github.com/contextgarden/context__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaBElf__0$>
> wiki : https://wiki.contextgarden.net
> <https://urldefense.com/v3/__https://wiki.contextgarden.net__;!!D9dNQwwGXtA!VVy65bsBpjvgVTeW-XGw9skW3lEpoklqvIqB6SqX0RxZU_EnR0CGPTBCTO4AavTMjxoXr7RqaD0w4BJv$>
> ___________________________________________________________________________________
>
>
> ___________________________________________________________________________________
> 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
[-- Attachment #1.2: Type: text/html, Size: 8019 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-06-17 17:56 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 ` [NTG-context] " Henning Hraban Ramm
2024-06-17 17:41 ` seyal zavira
2024-06-17 17:55 ` Joaquín Ataz López [this message]
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=eeb08c04-f9f0-4647-a4de-e800f47909f2@um.es \
--to=jal@um.es \
--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).