Context again broken on Mac

Karl Berry karl at freefriends.org
Tue Mar 12 23:29:41 CET 2024


    context --autogenerate --luatex StartTL.tex
    context --autogenerate StartTL.tex

Both commands work for me (with or without --autogenerate) on x86_64-linux.

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

I don't get that error. I've seen it in the past when the context.lua
and mtxrun.lua symlinks, which must be present in the bin/PLAT
directory, are missing or broken, but they are in bin/universal-darwin
now and do resolve.  So, I don't know.

Does kpsewhich mtx-context.lua work? It should return
/.../texmf-dist/scripts/context/lua/mtx-context.lua

    It seems the initializations
    mtxrun --generate for LuaMetaTeX and
    mtxrun --generate --luatex for LuaLaTeX (1)
    need to be run manually beforehand

There is code in install-tl and tlmgr that runs those commands when
context is installed or updated. The results are reported in the
install-tl.log file (install-tl)
or texmf-var/web2c/tlmgr-commands.log (tlmgr).

They do get executed for me by install-tl, along with all the myriad
other special actions like creating formats, language.dat/def, etc.

    (I thought --autogenerate took care of that) 

I don't recall hearing much about --autogenerate before. In any case,
nothing in TL uses that option, and users should not have to specify it,
so far as I know. That's the intent anyway.

    (2) fail to use TEXMFCONFIG

I know nothing about that, sorry. But I wouldn't expect
TEXMFCONFIG to be used for regenerate-able cache files; that's what
TEXMF[SYS]VAR is for, in contrast to TEXMF[SYS]CONFIG.

    Actually, if no ~/Library/texlive is present, it's not created.

I don't know. But I wouldn't expect ConTeXt to create all parent directories.

Anyway, whatever updates are needed here will presumably have to happen
after the release. --thanks, karl.


More information about the tex-live mailing list.