New TeX Live withPackages function

I wanted to flag that texlive now implements .withPackages (as soon as the PR below hits master). It is temporarily undocumented, but it works like for other languages

texlive.withPackages (with ps; [ scheme-small collection-pstricks ])

and can be called on an existing combined scheme to add packages. It’s also easier to create non-texlive packages (just make them multi-output with special outputs names tex, texdoc…).

There is an experimental interface to add the docs too:

texlive.combined.scheme-small.__overrideTeXConfig { withDocs = true; }

It would be great if people using texlive could play with this and report any bugs, issues, feedback so that we ship 23.11 in a good state and possibly with a stable overrideTeXConfig.

5 Likes