ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jürgen Hanneder via ntg-context" <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: hanneder@staff.uni-marburg.de
Subject: [NTG-context] Re: context / auctex problem?
Date: Tue, 18 Jun 2024 11:23:16 +0200	[thread overview]
Message-ID: <20240618112316.Horde.-Z3f2oHGwxXAOa5cMY9fkAJ@home.staff.uni-marburg.de> (raw)
In-Reply-To: <b2fb92dd-bff6-4b7c-8a8f-2a9d7e7bdf2e@disroot.org>


1. This sounded like a good solution:

Despite the contextgarden wiki page, which says:

>  ;; AUCTeX defaults to mkii; change to iv for iv and lmtx
>  (ConTeXt-Mark-version "IV")

this seemed like a good idea,

> (custom-set-variables
>    '(ConTeXt-Mark-version "lmtx")
>    '(ConTeXt-engine "lmtx"))

but on my system the error just changes:

Running `ConTeXt Full' on `context-test' with ``texexec  --engine=lmtx  
--nonstop context-test.tex''
/usr/bin/texexec: Zeile 2: mtxrun: Kommando nicht gefunden.

auctex apparently stops using the command "context" directly, but via texexec.

2.

> 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.

I tried the method from https://www.emacswiki.org/emacs/ExecPath
and set explicitly a path as

(setq exec-path (append exec-path '("-Path as in Bashrc-")))

Does not work.

3.
> And the information in AucTeX on how to change that is frankly deficient.

Exactly. It is a little absurd that it should be so difficult to tell  
auctex anything.

> To the point that I, who
> am an Emacs user for almost everything, when I write in ConTeXt I  
> prefer to use Vim.

I started using emacs in the nineties on a college mainframe, so I am  
not (yet) ready for vim:)

Thanks a lot for your tips, I shall write if and when I find a solution.
Jürgen


---

Prof. Dr. Juergen Hanneder
Philipps-Universitaet Marburg
FG Indologie u. Tibetologie
Deutschhausstr.12
35032 Marburg
Germany
Tel. 0049-6421-28-24930
hanneder@staff.uni-marburg.de

___________________________________________________________________________________
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-18  9:23 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
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   ` Jürgen Hanneder via ntg-context [this message]
2024-06-19 13:43     ` [NTG-context] " 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=20240618112316.Horde.-Z3f2oHGwxXAOa5cMY9fkAJ@home.staff.uni-marburg.de \
    --to=ntg-context@ntg.nl \
    --cc=hanneder@staff.uni-marburg.de \
    /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).