Le 27/06/2022 à 22:32, Pablo Rodriguez via ntg-context a écrit :
On 6/27/22 20:00, Henning Hraban Ramm via ntg-context wrote:
Am 27.06.22 um 19:10 schrieb Alain Delmotte via ntg-context:
[…] When I run from the console: context sanstitre-2.tex mtxrun | unknown script 'context.lua' or 'mtx-context.lua' […] What should I do? […] Try to rebuild the database: mtxrun --generate Hi Alain,
as Hraban points out, "mtxrun --generate" is your friend.
I can simply reproduce you error with:
mtxrun --scripts cache --erase
So I get:
$ context mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'
Everything works fine again after I run:
mtxrun --generate.
Before the first run after installation, this command is mandatory to build the database.
I hope it helps,
Pablo
Hi Pablo and Haram, When I was running mtxrun --generate, there was an interference with TeX Live, so I uninstalled it, then it worked. I do not know if that time I did run mtxrun. But under TeXworks when I selected context as program it kept electing luametatex, and it didn't work; so I manually wrote "context" and it worked!! Thanks for your help, Alain