
Hi Hans, On Fri, 2025-07-25 at 08:54 +0200, Hans Hagen via ntg-context wrote:
I've actually been thinking of filtering: only add files to the database that matter for context which leaves out complete subtrees.
That seems like a good idea to me, and should also speed up the filename database generation by quite a bit.
The file database isn't generated that often, it's access during a run that matters more.
It depends---I update TeX Live every day, which means that the modification time on the ls-R files changes every day. TeX Live updates the "system" ConTeXt filename database (and formats) on every update, but since ConTeXt prefers the "user" filename database, running "context <filename>.tex" will take 15+ seconds to regenerate the filename database (and remake the formats) if it's the first time that I've run it that day. Not the end of the world, but annoying enough for me to write this patch :). A better solution would probably be to tell ConTeXt to always use the TL-managed databases (stored in $TEXMFVAR aka "$SELFAUTOPARENT/texmf-var/") for the TL files (stored in $TEXMFDIST aka "$SELFAUTOPARENT/texmf-dist/"), but I have no idea how to do that.
Also, can you please rename m-texlive.mkxl to m-texlive.mkiv? LuaTeX doesn't find the file with the ".mkxl" suffix, and I'd like to keep supporting MkIV in TeX Live.
hm, i'll make a copy then (i tend to keep mkiv and mkxl separate as they can differ eventually,
Works for me, thanks! Thanks, -- Max