Hi Luca,
> 1) always writing the full path of the correct executable,
I don't know which operating system you're using. On linux instead of writing
the full path I'm using the command "alias" in my ".bashrc" file. So, Adityas
proposal on mtxrun (Date: Wed, 12 Feb 2020 00:24:21 -0500 (EST)) becomes:
alias context='~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script
context'
with 'context-lmtx' being the directory, where I installed context.
With this you invoke your context file with "context your-file.tex"
I cancelled all context stuff in my PATH variable. Don't forget to 'source ~/.bashrc'
afterwards.
Hi Rudolf, thank you for your suggestion.
I'm on linux but I'd prefer not to use this method, because I use context both from the command line and from my editor (emacs with auctex) and I have scripts that change my environment to be able to switch between different context versions (lmtx, texlive, ...). In any case, I'll think about this solution and it could be useful to other people, too.
LD