* Percent in mkii mathmode is rendering wrongly using lucida. @ 2012-12-28 0:21 Yue Wang 2012-12-28 1:18 ` Mojca Miklavec 0 siblings, 1 reply; 3+ messages in thread From: Yue Wang @ 2012-12-28 0:21 UTC (permalink / raw) To: mailing list for ConTeXt users, Hans Hagen, Mojca Miklavec [-- Attachment #1.1: Type: text/plain, Size: 170 bytes --] Hi Hans, can you fix the problem? thanks a lot. test document: %mkii \usetypescript[lucida][texnansi] \setupbodyfont[lucida,12pt] \starttext 5\% $5\%$ \stoptext Yue [-- Attachment #1.2: Type: text/html, Size: 388 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Percent in mkii mathmode is rendering wrongly using lucida. 2012-12-28 0:21 Percent in mkii mathmode is rendering wrongly using lucida Yue Wang @ 2012-12-28 1:18 ` Mojca Miklavec 2013-01-01 4:49 ` Yue Wang 0 siblings, 1 reply; 3+ messages in thread From: Mojca Miklavec @ 2012-12-28 1:18 UTC (permalink / raw) To: Yue Wang; +Cc: mailing list for ConTeXt users, Hans Hagen 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Percent in mkii mathmode is rendering wrongly using lucida. 2012-12-28 1:18 ` Mojca Miklavec @ 2013-01-01 4:49 ` Yue Wang 0 siblings, 0 replies; 3+ messages in thread From: Yue Wang @ 2013-01-01 4:49 UTC (permalink / raw) To: Mojca Miklavec; +Cc: mailing list for ConTeXt users, Hans Hagen [-- Attachment #1.1: Type: text/plain, Size: 1859 bytes --] When will the team push the fixed code to the mainstream? I think users need both \delta and percent. On Thu, Dec 27, 2012 at 7:18 PM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote: > 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 > [-- Attachment #1.2: Type: text/html, Size: 2657 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-01 4:49 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-12-28 0:21 Percent in mkii mathmode is rendering wrongly using lucida Yue Wang 2012-12-28 1:18 ` Mojca Miklavec 2013-01-01 4:49 ` Yue Wang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).