Am 29.10.26 um 18:44 schrieb Hans Hagen via ntg-context:
I uploaded a new version.
Thank you!
So I have a question: are there fonts on your
machines that have utf names? For instance:
knäckebröd-regular -> knäckebrödregular -> knackebrodregular
knäckebröd-math -> knäckebrödmath -> knackebrodmath
The only strange character that I found in my collection is * in Cooper*
(not file name but family name). And that’s really hazardous…
I know there are Chinese fonts with Chinese file names (AFAIR someone
reported a problem here).
I think it would be preferable to keep accented characters, should they
occur.
Upper/lower case is a problem with some filesystems, notorically MacOS;
normalizing to lowercase probably avoids more problems than it creates.
mtxrun -script unzip
mtxrun -script untar
This is a side effect of something newer: decompressing xz files,
Nice.
However, the reason xz is that we can then grab fonts from tex live.
This is handled by
mtxrun --script ctan --texlive
Cool!
This might evolve but we (Mikael and I) think only fonts make sense (otf
and ttf files) so that is what you get, not all the other stuff in these
archives that serves us no purpose.
I’m using tinyyaml with ConTeXt LMTX in a TeXlive installation.
Since you don’t want to support that format, that would be a useful case.
https://ctan.org/pkg/lua-tinyyaml or
https://github.com/zepinglee/lua-tinyyaml (just 1 small Lua file)
Usage like:
local data = require("tinyyaml").parse(yamlstring)
Maybe the wiki at some point can have a list of usefull font packages
(as it is not always intuitive). I'll also make a fetcher for google fonts.
Cool.
Often there are TTF and OTF versions in Google fonts, and increasingly
variable fonts. Do you have an idea how to handle that?
Is there already a script to create typescripts (for a rm/ss/tt/mm
family together)?
I often need typescripts from the distribution but want to combine them
with other fonts (e.g. Cambria as rm+mm with Heros and Latin Modern
Mono). I think that’s quite automatable.
Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________