From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 2A2882223C for ; Mon, 17 Jun 2024 19:41:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B168C484290 for ; Mon, 17 Jun 2024 19:41:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TLgalX1rqXDN for ; Mon, 17 Jun 2024 19:41:47 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0A590483DDD for ; Mon, 17 Jun 2024 19:41:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 79142483CE5 for ; Mon, 17 Jun 2024 19:41:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKFY3abGTKuv for ; Mon, 17 Jun 2024 19:41:21 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.171; helo=mail-lj1-f171.google.com; envelope-from=seyal.zavira@gmail.com; receiver= Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 11CDD483CD9 for ; Mon, 17 Jun 2024 19:41:21 +0200 (CEST) Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2ebe40673e8so47927821fa.3 for ; Mon, 17 Jun 2024 10:41:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718646080; x=1719250880; darn=ntg.nl; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=YAhEsbnYbm5yFDZRslAo5eHw+BAjPrLp/ShKtpbf/cM=; b=V01xA0Mybl9/sr9wkzpZyCzTst0BF6lZ9WSw4PuLyXDONRsmpfQ649K/8G043tqkIy v8s+rVeHSy6xhTRxLeYZpL8NkW+ZbOIHwZ15RXcne3PAYyXCquji43DJA1XR3+FwhUkU AedE+bi7X8tQODdWGw0KK8fCsH0jvm3iABkI0lLCuMnCVPAtTKFtPXQa5Qq94EvhfpjP 82PS819rOHN6NJI8FqJnyzRNA38uLcWDrjFGjjbmMkopU+4qh3d37oVvLIicE0RqufqD 9ATStPWUtZkP1XFnV4nGCw/FAyE1f4MqZ3zSrkL4rcokkcfNzQs7YQvYQovy2zNS5h53 41Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718646080; x=1719250880; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YAhEsbnYbm5yFDZRslAo5eHw+BAjPrLp/ShKtpbf/cM=; b=nLtgE7eT1HeRyu4NRoAZfXkJyfGVoyJxySPp/nbcqVAprTlRz5B7zf32dUNosOsdXQ DqATBy4+Nvz2No9FsVqYQ3iMchGJ0ts2m7Z/GBt6/nKoNIJZklh1zMAzAbjfGGPfvsC+ okiaM3qIjMsh6llUEhdLTkhiwvBJOVXV2ETbzU9ZwGvLu0v8NvQgK49NBB05XBssjVTF youDQvQj9d9AY4aPPkIqrOv/h+qBYiOFOY5KavCTNFRV5hsEHzi80/KsWg3wR/afzEcJ tvGqcyypU0b6iGwzFObDzK7DXL4X4b8l2+F+eot37Da7iXEhgRtZ0DVpN1YSAgywGpoG jDxg== X-Gm-Message-State: AOJu0YzmKlG2ObS9/vf4UT2+U+AHmYLNRoPlOrCLQWGuYSRAx2kCAXDr iTwlNzmvcC2fxQ0PbQthQmsJJ6R/+N5MrkgfYgpmNNiI7HxOliT6UuKpVvCqq4QEnYU7W9L5SE3 jhFTdG/IahWEED1h3v5e+D0hyfNIyURheezEzoA== X-Google-Smtp-Source: AGHT+IG11//8ColjeYaz2w1+Zckx+KHnqkTsHCiNmx6jazz1z8ltRc9HiBfmoWpC2cmUAaEy+rwaMC6vZAP+qNynpX4= X-Received: by 2002:a2e:6e17:0:b0:2ec:199:8b0e with SMTP id 38308e7fff4ca-2ec0e5b5edemr72233481fa.8.1718646079952; Mon, 17 Jun 2024 10:41:19 -0700 (PDT) MIME-Version: 1.0 References: <20240617141543.Horde.uRhvY4mty7l-ZqM8NEU02Hx@home.staff.uni-marburg.de> In-Reply-To: From: seyal zavira Date: Mon, 17 Jun 2024 13:41:08 -0400 Message-ID: To: mailing list for ConTeXt users Content-Type: multipart/mixed; boundary="0000000000001739e7061b1979c1" Message-ID-Hash: ISZOSISTWYUAG2VLRVT3PADT26BE67LR X-Message-ID-Hash: ISZOSISTWYUAG2VLRVT3PADT26BE67LR X-MailFrom: seyal.zavira@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: context / auctex problem? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --0000000000001739e7061b1979c1 Content-Type: multipart/alternative; boundary="0000000000001739e6061b1979bf" --0000000000001739e6061b1979bf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Henning Hraban Ramm wrote: > Am 17.06.24 um 14:15 schrieb J=C3=BCrgen Hanneder via ntg-context: > > > > Apologies for this question, which is probably an auctex problem. I hav= e > > a new install of everything > > (LinuX, emacs, texlive) and the latest (?) context (ConTeXt ver: > > 2024.05.27 18:16 LMTX) > > Latest ist today=E2=80=99s, but that=E2=80=99s 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=E2=80=99t 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 > > _________________________________________________________________________= __________ > --0000000000001739e6061b1979bf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In Emacs, I prefer use pure ConTeXt.
I have attached my= Emacs init file. This setup is so satisfying.
You can compile your docu= ments 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 aft= er compilation).
In GNOME, you can simply switch between windows using A= lt+Tab.
I hope this is helpful!

On Mon, Jun 17, 2024 at 1:36=E2=80=AFPM H= enning Hraban Ramm <texml@fiee.net= > wrote:
Am 1= 7.06.24 um 14:15 schrieb J=C3=BCrgen Hanneder via ntg-context:
>
> Apologies for this question, which is probably an auctex problem. I ha= ve
> a new install of everything
> (LinuX, emacs, texlive) and the latest (?) context (ConTeXt ver:
> 2024.05.27 18:16 LMTX)

Latest ist today=E2=80=99s, but that=E2=80=99s 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=C2= =A0 --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=E2=80=99t use the same PATH as your terminal.<= br>
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 t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / https://mailman.ntg.nl/mail= man3/lists/ntg-context.ntg.nl
webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhet.net= (mirror)
archive=C2=A0 : https://github.com/contextgarden/context=
wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
___________________________________________________________________________= ________
--0000000000001739e6061b1979bf-- --0000000000001739e7061b1979c1 Content-Type: application/octet-stream; name=".emacs" Content-Disposition: attachment; filename=".emacs" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lxj9gt110 KHVzZS1wYWNrYWdlIGF1Y3RleAogIDpkaXNhYmxlZCkKCihjdXN0b20tc2V0LXZhcmlhYmxlcwog OzsgY3VzdG9tLXNldC12YXJpYWJsZXMgd2FzIGFkZGVkIGJ5IEN1c3RvbS4KIDs7IElmIHlvdSBl ZGl0IGl0IGJ5IGhhbmQsIHlvdSBjb3VsZCBtZXNzIGl0IHVwLCBzbyBiZSBjYXJlZnVsLgogOzsg WW91ciBpbml0IGZpbGUgc2hvdWxkIGNvbnRhaW4gb25seSBvbmUgc3VjaCBpbnN0YW5jZS4KIDs7 IElmIHRoZXJlIGlzIG1vcmUgdGhhbiBvbmUsIHRoZXkgd29uJ3Qgd29yayByaWdodC4KICcoY3Vz dG9tLXNhZmUtdGhlbWVzCiAgICcoIjYwM2E4MzFlMGYyZTQ2NjQ4MGNkYzYzM2JhMzdhMGIxYWUz YzNlOWE0ZTkwMTgzODMzYmM0ZGVmMzQyMWE5NjEiIGRlZmF1bHQpKQogJyhwYWNrYWdlLXNlbGVj dGVkLXBhY2thZ2VzICcoZHJhY3VsYS10aGVtZSkpKQooY3VzdG9tLXNldC1mYWNlcwogOzsgY3Vz dG9tLXNldC1mYWNlcyB3YXMgYWRkZWQgYnkgQ3VzdG9tLgogOzsgSWYgeW91IGVkaXQgaXQgYnkg aGFuZCwgeW91IGNvdWxkIG1lc3MgaXQgdXAsIHNvIGJlIGNhcmVmdWwuCiA7OyBZb3VyIGluaXQg ZmlsZSBzaG91bGQgY29udGFpbiBvbmx5IG9uZSBzdWNoIGluc3RhbmNlLgogOzsgSWYgdGhlcmUg aXMgbW9yZSB0aGFuIG9uZSwgdGhleSB3b24ndCB3b3JrIHJpZ2h0LgogKQogCiAoc2V0cS1kZWZh dWx0IHNjcm9sbC1iYXItd2lkdGggNykKIChzZXRxLWRlZmF1bHQgdGFiLXdpZHRoIDQpCiAoY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ZXJ3aXNlLCBqdXN0IGRvIHRoZSBub3JtYWwga2lsbCB3b3JkLgogICAgKGJh Y2t3YXJkLWtpbGwtd29yZCAxKSkpCiAKKGRlZnVuIGNvbXBpbGUtY29udGV4dC1maWxlICgpCiAg KGludGVyYWN0aXZlKQogIChjb21waWxlIChjb25jYXQgImNvbnRleHQgJyIgKGZpbGUtbmFtZS1u b25kaXJlY3RvcnkgKGJ1ZmZlci1maWxlLW5hbWUpKSAiJyIpKQopCgooZ2xvYmFsLXNldC1rZXkg KGtiZCAiQy1jIGMiKSAnY29tcGlsZS1jb250ZXh0LWZpbGUpCgooZGVmdW4gdmlldy1jb250ZXh0 LWZpbGUgKCkKICAoaW50ZXJhY3RpdmUpCiAgKGFzeW5jLXNoZWxsLWNvbW1hbmQgKGZvcm1hdCAi ZXZpbmNlICVzLnBkZiIgKGZpbGUtbmFtZS1zYW5zLWV4dGVuc2lvbiAoZmlsZS1uYW1lLW5vbmRp cmVjdG9yeSAoYnVmZmVyLWZpbGUtbmFtZSkpKSkpCikKCihnbG9iYWwtc2V0LWtleSAoa2JkICJD LWMgdiIpICd2aWV3LWNvbnRleHQtZmlsZSkK --0000000000001739e7061b1979c1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --0000000000001739e7061b1979c1--