On 3/18/2026 10:07 AM, Max Chernoff via ntg-context wrote:
Hi Hans,

Line 27725 of mtxrun.lua currently says

     -- retry after generate but only if --autogenerate
     if fullname == "" and environment.argument("autogenerate") then -- might 
become the default

I've tested changing this to

     if fullname == "" and true then

and this seems to solve all of the

     mtxrun          | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

errors in TeX Live that have been reported recently. Do you have any
opposition to me making this change in TL? Or even better, would you
consider making this change yourself in the upstream version?

I can add:

local autogenerate = false

With:

if fullname == "" and (autogenerate or environment.argument("autogenerate") or os.getenv("mtxrun.autogenerate")) then

But just changing that now .. I really need to check the implications of such a change of a default. I'm pretty sure that if I'd made it default, the opposite would have be requested. So we'd need a --noautogenerate then.

So, I'll think about it (and maybe try it out in an intermediate update before deciding).

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to