On Fri, Feb 14, 2020 at 08:59:57PM +0100, Luca Donetti wrote:
> > > So I run explicitly the second one:
> > >   ~/context-lmtx/bin/mtxrun --generate
> > > but I got the same error.
> >
> > This is the wrong binary. As Hans said (and also what I wrote in my
> > message) is that you have to run the one in
> > ~/context-lmtx/tex/texmf-linux-64/bin/



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. 

> 2) avoid putting [lmtx path]/bin in PATH,

Yes, this could be a solution too, in my opinion.

> 3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in
> the PATH
> 
> I'm asking here because option 1 is correct but not very handy, while 2)
> and 3) are different from what the installer says and they seemed to give
> other problems when I tried them.

I hope this helps you! At least in the case you're using linux.

Best wishes,

Rudolf
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to