On 10/29/2026 8:52 PM, Henning Hraban Ramm wrote:
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)

i have already something but never bothered to finish it and the tl database is just text (we only need the name and runfiles)
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?

playing with it ...

mtxrun --script "temp.lua"

pattern noto-serif

   1  +  noto-serif                     Noto Serif
   2  +  noto-serif-ahom                Noto Serif Ahom
   3  +  noto-serif-armenian            Noto Serif Armenian
   4  +  noto-serif-balinese            Noto Serif Balinese
   5  +  noto-serif-bengali             Noto Serif Bengali
   6  +  noto-serif-devanagari          Noto Serif Devanagari
   7  +  noto-serif-display             Noto Serif Display
   8  +  noto-serif-dives-akuru         Noto Serif Dives Akuru
   9  +  noto-serif-dogra               Noto Serif Dogra
  10  +  noto-serif-ethiopic            Noto Serif Ethiopic
  11  +  noto-serif-georgian            Noto Serif Georgian
  12  +  noto-serif-grantha             Noto Serif Grantha
  13  +  noto-serif-gujarati            Noto Serif Gujarati
  14  +  noto-serif-gurmukhi            Noto Serif Gurmukhi
  15  +  noto-serif-hebrew              Noto Serif Hebrew
  16  +  noto-serif-hentaigana          Noto Serif Hentaigana
  17  +  noto-serif-hk                  Noto Serif HK
  18  +  noto-serif-jp                  Noto Serif JP
  19  +  noto-serif-kannada             Noto Serif Kannada
  20  +  noto-serif-khitan-small-script Noto Serif Khitan Small Script
  21  +  noto-serif-khmer               Noto Serif Khmer
  22  +  noto-serif-khojki              Noto Serif Khojki
  23  +  noto-serif-kr                  Noto Serif KR
  24  +  noto-serif-lao                 Noto Serif Lao
  25  +  noto-serif-makasar             Noto Serif Makasar
  26  +  noto-serif-malayalam           Noto Serif Malayalam
  27  +  noto-serif-myanmar             Noto Serif Myanmar
  28  +  noto-serif-np-hmong            Noto Serif NP Hmong
  29  +  noto-serif-old-uyghur          Noto Serif Old Uyghur
  30  +  noto-serif-oriya               Noto Serif Oriya
  31  +  noto-serif-ottoman-siyaq       Noto Serif Ottoman Siyaq
  32  +  noto-serif-sc                  Noto Serif SC
  33  +  noto-serif-sinhala             Noto Serif Sinhala
  34  +  noto-serif-tamil               Noto Serif Tamil
  35  +  noto-serif-tangut              Noto Serif Tangut
  36  +  noto-serif-tc                  Noto Serif TC
  37  +  noto-serif-telugu              Noto Serif Telugu
  38  +  noto-serif-thai                Noto Serif Thai
  39  +  noto-serif-tibetan             Noto Serif Tibetan
  40  +  noto-serif-todhri              Noto Serif Todhri
  41  +  noto-serif-toto                Noto Serif Toto
  42  +  noto-serif-vithkuqi            Noto Serif Vithkuqi
  43  +  noto-serif-yezidi              Noto Serif Yezidi

time:   3.6519814 seconds
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.

or use selectfont

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to