On 8/21/2015 11:50 PM, Rik Kabel wrote:
On 2015-08-21 09:10, Hans Hagen wrote:
mostly changed names of the fonts, a missing directive (i'll add a fallback for that) and such ... patched in the next beta
Hans,
This morning's release fixed the newotf module problem, but not the font face problem. Was that to be expected?
The font switching mechanism is quite optimized (for performance) and makes some assumptions about namespaces. When you define a font, normally each call will check the definition i.e. be dynamic, but a bodyfont assumes a more frozen use. Specially with in-document typescripts that can have side effects. In your case, just say \setupbodyfont [Secondary,10pt] before the modern one, as it will then define Secondary in its own namespace and also not have a local/global mix side effects that comes from a first call to a bodyfont switch inside a group. Such a global initialization also has the effect of more efficient definitions of related bodyfont environments. It's also good to add a math font definition: \starttypescript[Secondary] \definetypeface[Secondary][rm][serif][ebgaramond][default] \definetypeface[Secondary][mm][math][modern][default] as some symbols might come from math. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------