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
command
creates a typescript behind the scenes.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________