1. Today, I installed TeXlive 2017 using MacTeX and do a simple test using TeXshop.
When I run a sample file using “ConTeXt(LuaTeX)”, then I got an error message:
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
I also did “mtxrun —generate”in the terminal which runs well. But “luatools —generate” also issue the similar error message:
mtxrun | unknown script ‘base.lua’ or 'mtx-base.lua'
However, it runs well under Stand-alone ConTeXt.
What I have to do to make TeXlive work?
2. Recently, I also installed Textadept in OS X for test, and follow the steps explained in the wiki.
If I open textadept in the terminal(open -a textadept), ConTeXt, lua, Python worked OK.
But it issued an error message as following when I open it directly from the application folder.
> mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 "Main.tex"
Failed to execute child process "mtxrun" (No such file or directory)
> exit status: 256
In the terminal, echo $PATH contains the folder “/Library/TeX/texbin” which contains all executables of TeXlive 2017.
Is there anything that I have to do more?
Thank you for reading.