On Fri, Dec 28, 2012 at 1:21 AM, Yue Wang wrote: > Hi Hans, > > can you fix the problem? thanks a lot. > > test document: > %mkii > \usetypescript[lucida][texnansi] > \setupbodyfont[lucida,12pt] > \starttext > 5\% $5\%$ > \stoptext
Citing myself: On Sat, Feb 20, 2010 at 6:22 AM, Mojca Miklavec wrote: > On Tue, Dec 1, 2009 at 10:16, Hans Hagen wrote: >> Yue Wang wrote: >> >>> I am writing my journal article using Lucida. The following code didn't >>> work: >>> >>> \usetypescriptfile[type-buy] >>> \usetypescript[lucida][texnansi] >>> \setupbodyfont[lucida,12pt] >>> \starttext $\Delta$\stoptext > > If I change > \definefontsynonym [MathRoman] [LucidaBright] > into > \definefontsynonym [MathRoman] [LucidaNewMath-Roman] % LucidaBright > > it starts working, but probably break other things (would need a bit > more extensive tests). > > Mojca and it seems that *exactly that* change breaks it. To start with, it's not only percentage sign. There are more. You could start with constructions like \definemathsymbol [percent] [nothing] [tf] [37] in math-lbr.mkii. That works, but I'm not yet sure how to redefine the character itself since the following doesn't work: \definemathcharacter [37] [nothing] [tf] [37] One needs to test \usetypescript[lucida][ec] \usetypescript[modern][ec] \showfont[hlcrm] \showfont[rm-lmr12] and "redefine"/reassign all characters that are different than in LM. An alternative is to change the font back to LucidaBright and redefine all characters that are different there. Mojca ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________