On 6/10/21 11:35 PM, Hans Hagen wrote:
[...] I made a typescript for the 10pt regular and book (as I see no reason to configure 8pt). So, assuming that one installs these fonts:
\setupbodyfont[newcomputermodern-book] \setupbodyfont[newcomputermodern] [...] Happy testing (hopefully there are no side effects).
Many thanks for the new latest, Hans. The following sample shows an issue with "newcmmono10-bolditalic.otf": \mainlanguage[agr] \definefontfamily[another][rm][Another] [tf=file:newcmmono10-boldoblique.otf] \setupbodyfont[newcomputermodern] \starttext \tt\bi\input aristotle-grc\par \switchtobodyfont[another] \input aristotle-grc\par \it\input aristotle-grc \stoptext I’m afraid that there is no "newcmmono10-bolditalic.otf", but "newcmmono10-boldoblique.otf". The following patch fixes the issue: --- context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-newcomputermodern.mkiv 2021-06-11 16:58:53.742990586 +0200 +++ type-imp-newcomputermodern.mkiv 2021-06-11 16:51:57.861274985 +0200 @@ -46,7 +46,7 @@ \definefontsynonym [\s!MonoItalic] [\s!file:newcmmono10-italic.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoItalic] - \definefontsynonym [\s!MonoBoldItalic] [\s!file:newcmmono10-bolditalic.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBoldItalic] + \definefontsynonym [\s!MonoBoldItalic] [\s!file:newcmmono10-boldoblique.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBoldItalic] \stoptypescript \starttypescript [\s!math][newcomputermodern] [\s!name] @@ -76,7 +76,7 @@ \definefontsynonym [\s!MonoItalic] [\s!file:newcmmono10-bookitalic.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoItalic] - \definefontsynonym [\s!MonoBoldItalic] [\s!file:newcmmono10-bolditalic.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBoldItalic] + \definefontsynonym [\s!MonoBoldItalic] [\s!file:newcmmono10-boldoblique.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBoldItalic] \stoptypescript \starttypescript [\s!math][newcomputermodern-book] [\s!name] Many thanks for your excellent work with ConTeXt, Pablo -- http://www.ousia.tk