[NTG-context] set fallback in \definefont

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue Feb 16 19:34:51 CET 2021

Mohammad Hossein Bateni schrieb am 15.02.2021 um 22:31:
> Thanks for the quick response, Pablo.  I already use typescripts 
> (\definetypeface, \definefontsynonym and \definefontfallback): 
> https://github.com/bateni/dabeer/tree/master/texmf-local/tex/context/fonts/mkiv
> By arbitrary style, I meant something like:
> \definefontfamily[myface][CUSTOM][TeX Gyre Pagella]]
> https://wiki.contextgarden.net/Font_Switching says fontstyle is rm, 
> ss, tt, mm, hw, cg, ...
> Because the the three dots at the end, I thought it would be possible 
> to define new fontstyles.  But I get an error if I do so.

You can add additional styles but this requires more than a single line 
of code.

\definefontfamily itself is limited to the default styles because the 
creates a typescript behind the scenes.


More information about the ntg-context mailing list