Skip to content

community/texlive: fix trigger

This contains a number of fixes that will result in a working LaTeX setup with just apk add texlive from a clean slate.

The main issue was that the hyphenation data was moved from the base collection into the lang* collection, but the upstream language configuration just enables them all. When using tlmgr this could be fixed with tlmgr generate lagnuage, but for tlmgr to even load an 18 MiB package database needs to be installed. This is a bit of an overkill to just generate three trivial text files.

Instead, the configuration parts where split into one file per texmf-dist-lang* package that contains only the section relevant to the languages it provides. In the texlive.trigger, now something that boils down to cat lang.d/*.dat > language.dat is used to generate the full config.

The output of texlive.trigger was changed to improve aware. All but the last command are actually expected to always succeed. fmtutil-sys --all is expected to fail for the formats that are not currently installed. Printing the build summary will however help to identify issues.

Fixes #16190

Merge request reports