On 3/18/2026 11:32 AM, Max Chernoff wrote:
Hi Hans,

On Wed, 2026-03-18 at 11:18 +0100, Hans Hagen via ntg-context wrote:
On 3/18/2026 10:56 AM, Max Chernoff via ntg-context wrote:
When running "mtxrun --luatex --generate", the "--luatex" argument seems
to be ignored:

Just use

    context --generate --luatex

for that.

Sure, I can change the code to use that, but my impression was that
"mtxrun --luatex --generate" was (historically) the recommended command.
And on a fresh installation, this doesn't work at all without running
"mtxrun --generate" first:

     $ sudo rm -rf ~/luatex-cache/context/ 
/opt/context/tex/texmf-cache/luatex-cache/ ~/luametatex-cache/context/ 
/opt/context/tex/texmf-cache/luametatex-cache/

     $ context --generate --luatex
     mtxrun          | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

     $ mtxrun --generate
     [...]
     mtxrun          | elapsed lua time: 0.085 seconds

     $ context --generate --luatex
     [...]
     mtxrun          | elapsed lua time: 0.093 seconds

So should I convert all the build scripts/documentation to run (in
order)

     mtxrun --generate
     context --generate --luatex

or is there a different sequence of commands that I should use?

looks ok to me

It makes little sense to add that (restart with luatex) logic
to mtxrun too.

Well I wouldn't say "add" since it used to work in the past :). But fair
enough, as long as there's is _some_ command that works, then I can
adapt everything fairly easily.

I don't know about the past but --generate is pretty old and i dont'; think anything changed there. I don't keep track of how tex live etc change.

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