Hans van der Meer wrote:
Working on typescripts for Y&Y's LucidaBright (which are type1 fonts) for MKIV (hoping to maintain compatibilty with MKII), the following code produces all math in bold, even the first x+y. \usetypescript[luc]\setupbodyfont[luci]\starttext $x+y$ -- $\bfmath x+y$ \stoptext
I studied the new manual chapter on typescripts as well as have worked in analogy with existent typescripts in the current ConTeXt base. I certainly am missing an important clue here.
the most important clue is that mkii and mkiv are different (1) instead of many families we only use two, see type-siz.mkiv, where you can find lines like: \definebodyfont [12pt] [mm] [mr=LMMathRoman12-Regular sa 1, mb=LMMathRoman12-Bold sa 1] (2) there is a distinction between bold alphabets (see unicode math) and a complete switch to bold; so, \bf cum suis deal with alphabets, while \mb switches to the bold math family (3) we use either opentype math fonts or virtual ones, i.e. if you use lucida, which is traditional, we need an entry in math-vfu.lua, and in the beta that is the case (but not for bold) (4) no math vectors are used in mkiv, only unicode (5) as loading and switching comes a price, we need to enable it with \enableboldmath before loading fonts so, although most things on the outside are the same in mkii/mkiv there are some fundamental differences Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------