Hi Alex, Thank you and Taco for helping. In order to help solve the problem of running ConTeXt from MacTeX, I installed MacTeX2020 (which is the same as TeXLive2020). Now if in a Terminal window I do which context the answer is: /Library/TeX/texbin/context And the answer to which pdflatex is /Library/TeX/texbin/pdflatex Also the answer to: which luatools is /Library/TeX/texbin/luatools
So the binaries are in /Library/TeX/texbin, which is in fact an alias for /usr/local/texlive/2020/bin/x86_64-darwin Now, as you and the « ConTeXt (LuaTeX) » engin suggest, if I do luatools --generate then the answer is: mtxrun | unknown script 'base.lua' or 'mtx-base.lua' It is possible that the version of mtxrun or luatools scripts in TeXLive are not working. I don't remember what I did with TeXLive2019 to fix the issue, but my concern is that if including ConTeXt in TeXLive is intended for people to use it, then it SHOULD run without such tweakings which, even for someone who is a regular user of ConTeXt, are not easy to find. The solution consisting of installing a standalone tree of ConTeXt, is not a real solution because many people do not know how to do it and, even if they could, then what would be the point of doing so much work for people who include a ConTeXt tree in TeXLive? Anyway, I apologize for my acrimonius remarks, and I thank you again for your help. Best regards: Otared > On 10 Aug 2020, at 12:39, Axel Kielhorn <t...@axelkielhorn.de> wrote: > > > >> Am 10.08.2020 um 12:03 schrieb Otared Kavian <ota...@gmail.com>: >> >> Hi all, >> >> I suggested to a friend, who is using plain TeX and LaTeX, to switch to >> ConTeXt, and since he is using TeXShop on MacOSX with a version of >> TeXLive2020 (named MacTeX2020), I thought he would just typeset a simple >> test document with the option « ConTeXt (LuaTeX) » from the menu in TeXShop, >> where it does appear. >> >> Unfortunately when doing this all he gets in the log file is: >> >> /sw/bin/init.csh: No such file or directory. >> mtxrun | unknown script 'context.lua' or 'mtx-context.lua' >> >> and I could not help him make the format (I do not have access to his >> machine, and I was trying to explain what to do on the phone). > > The TeXshop engine file says: > > # Before using this engine, you must run the following command once in > Terminal: luatools --generate > > I probably did this when I installed TeXLive. > > But I’m a little irritated by /sw/bin/. > Is this a real MacTeX installation and not something like homebrew? > > Let’s start with the simple things: > > What is the result of: > which context > > it should be: > /Library/TeX/texbin/context > > If that doesn’t work try: > > which pdflatex > > The result is probably not > > /Library/TeX/texbin/pdflatex > > but should give some indication where to look. > > There may be an old installation of MacTeX without Context somewhere in the > path. > > If this is an old TeXShop installation, the Context engine may need an update > because it points to the old PATH. > Simply copy the engine from ~/Library/TeXShop/Engines/inactive/ConTeXt to > ~/Library/TeXShop/Engines > > Hope this helps > Axel > > > ___________________________________________________________________________________ > 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 ___________________________________________________________________________________