Re: [NTG-context] Why mtxrun fails ?

2022-01-08 Thread juh via ntg-context
Am Freitag, dem 07.01.2022 um 23:01 +0100 schrieb Jean-Pierre Delange
via ntg-context:
> Hello !
> Sorry for this newbie question : I’ve just uploaded CTX on my new
> MacOS (High Sierra), and when I pass the command mtxrun —generate or
> any other option with mtxrun, I get this : -bash: mtxrun: command not
> found
> 
> I did that before :  echo "export
> PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH"
> >> ~/.bashrc
> 
> What I am missing ?

Have you sourced .bashrc

source ~/.bashrc

juh

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


Re: [NTG-context] Why mtxrun fails ?

2022-01-07 Thread Jean-Pierre Delange via ntg-context
I’ve made a stupid error : I’ve passed this command echo 'export 
PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH' >> 
~/.bashrc instead of  export 
PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH >> 
~/.bashrc.

Sorry for the noise !

> Le 8 janv. 2022 à 01:42, Jean-Pierre Delange via ntg-context 
>  a écrit :
> 
> Thank you Otared and Youssef !
> As you know MacOS High Sierra is the version before Catalina and works with 
> Bash and the command I’ve given shows where I have installed context : echo 
> 'export PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH' 
> >> ~/.bashrc
> 
> As I am new on MacOS and since what works on Unix works nearly the same on 
> MacOS, no matter if you install context where you want (in /Documents or in 
> /Applications). With the command . setuptex in the folder 
> /home/user/context/tex one could load context and its other commands like 
> mtxrun. I don’t understand what I forget to do !
>  
> 
>> Le 8 janv. 2022 à 00:00, Youssef Cherem via ntg-context > > a écrit :
>> 
>> The instructions for MacOS are the same as for Unix, but note that:
>> 
>> MacOS versions from Catalina (10.15) and newer use Zsh by default.
>> MacOS versions before Catalina use Bash by default.
>> https://wiki.contextgarden.net/Installation 
>> 
>> fre. 7. jan. 2022 kl. 19:02 skrev Jean-Pierre Delange via ntg-context 
>> mailto:ntg-context@ntg.nl>>:
>> Hello !
>> Sorry for this newbie question : I’ve just uploaded CTX on my new MacOS 
>> (High Sierra), and when I pass the command mtxrun —generate or any other 
>> option with mtxrun, I get this : -bash: mtxrun: command not found
>> 
>> I did that before :  echo "export 
>> PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH" >> 
>> ~/.bashrc
>> 
>> What I am missing ?
>> JP
>> ___
>> 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 
>> ___
>> ___
>> 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 
>> ___
> 
> ___
> 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
> ___

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


Re: [NTG-context] Why mtxrun fails ?

2022-01-07 Thread Jean-Pierre Delange via ntg-context
I’ve founded what was wrong in my .bashrc file : it was only an error of syntax 
!

> Le 8 janv. 2022 à 00:00, Youssef Cherem via ntg-context  
> a écrit :
> 
> The instructions for MacOS are the same as for Unix, but note that:
> 
> MacOS versions from Catalina (10.15) and newer use Zsh by default.
> MacOS versions before Catalina use Bash by default.
> https://wiki.contextgarden.net/Installation 
> 
> fre. 7. jan. 2022 kl. 19:02 skrev Jean-Pierre Delange via ntg-context 
> mailto:ntg-context@ntg.nl>>:
> Hello !
> Sorry for this newbie question : I’ve just uploaded CTX on my new MacOS (High 
> Sierra), and when I pass the command mtxrun —generate or any other option 
> with mtxrun, I get this : -bash: mtxrun: command not found
> 
> I did that before :  echo "export 
> PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH" >> 
> ~/.bashrc
> 
> What I am missing ?
> JP
> ___
> 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 
> ___
> ___
> 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
> ___

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


Re: [NTG-context] Why mtxrun fails ?

2022-01-07 Thread Jean-Pierre Delange via ntg-context
Thank you Otared and Youssef !
As you know MacOS High Sierra is the version before Catalina and works with 
Bash and the command I’ve given shows where I have installed context : echo 
'export PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH' >> 
~/.bashrc

As I am new on MacOS and since what works on Unix works nearly the same on 
MacOS, no matter if you install context where you want (in /Documents or in 
/Applications). With the command . setuptex in the folder 
/home/user/context/tex one could load context and its other commands like 
mtxrun. I don’t understand what I forget to do !
 

> Le 8 janv. 2022 à 00:00, Youssef Cherem via ntg-context  
> a écrit :
> 
> The instructions for MacOS are the same as for Unix, but note that:
> 
> MacOS versions from Catalina (10.15) and newer use Zsh by default.
> MacOS versions before Catalina use Bash by default.
> https://wiki.contextgarden.net/Installation 
> 
> fre. 7. jan. 2022 kl. 19:02 skrev Jean-Pierre Delange via ntg-context 
> mailto:ntg-context@ntg.nl>>:
> Hello !
> Sorry for this newbie question : I’ve just uploaded CTX on my new MacOS (High 
> Sierra), and when I pass the command mtxrun —generate or any other option 
> with mtxrun, I get this : -bash: mtxrun: command not found
> 
> I did that before :  echo "export 
> PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH" >> 
> ~/.bashrc
> 
> What I am missing ?
> JP
> ___
> 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 
> ___
> ___
> 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
> ___

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


Re: [NTG-context] Why mtxrun fails ?

2022-01-07 Thread Youssef Cherem via ntg-context
The instructions for MacOS are the same as for Unix, but note that:

   - MacOS versions from Catalina (10.15) and newer use *Zsh* by default.
   - MacOS versions before Catalina use *Bash* by default.

https://wiki.contextgarden.net/Installation

fre. 7. jan. 2022 kl. 19:02 skrev Jean-Pierre Delange via ntg-context <
ntg-context@ntg.nl>:

> Hello !
> Sorry for this newbie question : I’ve just uploaded CTX on my new MacOS
> (High Sierra), and when I pass the command mtxrun —generate or any other
> option with mtxrun, I get this : -bash: mtxrun: command not found
>
> I did that before :  echo "export
> PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH" >>
> ~/.bashrc
>
> What I am missing ?
> JP
>
> ___
> 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
>
> ___
>
___
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
___


Re: [NTG-context] Why mtxrun fails ?

2022-01-07 Thread Otared Kavian via ntg-context
Hi Jean-Pierre,

In which directory (or « folder », speaking MacOS…) have you installed the 
ConTeXt tree ? 
For instance, on my machine, I have installed the ConTeXt LMTX tree in

/Applications/context-osx-arm64/

and then if for example I need to execute the mtxrun coming with this tree, I 
can say

/Applications/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun - -generate

(beware the « - - generate » should be actually two successive « - » dashes 
without a space between them… I am using Mail.app on my Mac and it replaces the 
two dashes with a longer n-dash « — »).

Of course the best would be to create an alias for 

/Applications/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun

in your .bashrc, if you use bash.

Best regards: Otared K.

> On 7 Jan 2022, at 23:01, Jean-Pierre Delange via ntg-context 
>  wrote:
> 
> Hello !
> Sorry for this newbie question : I’ve just uploaded CTX on my new MacOS (High 
> Sierra), and when I pass the command mtxrun —generate or any other option 
> with mtxrun, I get this : -bash: mtxrun: command not found
> 
> I did that before :  echo "export 
> PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH" >> 
> ~/.bashrc
> 
> What I am missing ?
> JP
> ___
> 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
> ___

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


[NTG-context] Why mtxrun fails ?

2022-01-07 Thread Jean-Pierre Delange via ntg-context
Hello !
Sorry for this newbie question : I’ve just uploaded CTX on my new MacOS (High 
Sierra), and when I pass the command mtxrun —generate or any other option with 
mtxrun, I get this : -bash: mtxrun: command not found

I did that before :  echo "export 
PATH=/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin:$PATH" >> 
~/.bashrc

What I am missing ?
JP___
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
___