From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80054 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Re: Percent in mkii mathmode is rendering wrongly using lucida. Date: Mon, 31 Dec 2012 22:49:27 -0600 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0496186807==" X-Trace: ger.gmane.org 1357015778 11452 80.91.229.3 (1 Jan 2013 04:49:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jan 2013 04:49:38 +0000 (UTC) Cc: mailing list for ConTeXt users , Hans Hagen To: Mojca Miklavec Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 01 05:49:53 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TptnQ-0001Qi-GM for gctc-ntg-context-518@m.gmane.org; Tue, 01 Jan 2013 05:49:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5144D101EC; Tue, 1 Jan 2013 05:49:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fhO5xICLE0VZ; Tue, 1 Jan 2013 05:49:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DBD4A101F1; Tue, 1 Jan 2013 05:49:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0EA83101F1 for ; Tue, 1 Jan 2013 05:49:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Nz77VK3M0nLb for ; Tue, 1 Jan 2013 05:49:30 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 36479101EC for ; Tue, 1 Jan 2013 05:49:30 +0100 (CET) Original-Received: from mail-ie0-f177.google.com (mail-ie0-f177.google.com [209.85.223.177]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r014nSCs025443 for ; Tue, 1 Jan 2013 05:49:29 +0100 Original-Received: by mail-ie0-f177.google.com with SMTP id k13so15621648iea.22 for ; Mon, 31 Dec 2012 20:49:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=M6xNsMmOExoEx0AbVQOFZR9/pZ2cTl0s+LvUjEM0+C0=; b=UPmHimNZUz+dB7mUAokBLYX0P7OHMbogtDup8SwIhrRa2WzOT4VjAbup6DMKdKcivk GNsPb/HBY0scmSP+CZKBOPz7hGFcr+bUmXq1AlNi/GvYP905pela+urnp2R6O4q4/qIS ijNyci2TZDev5G1mPaMCqRogy309iBGWZ2/XyIN7FI791jCKipzlB5XC30YRU5WrJOTh Xx2MtOaFbWAKPOIpuzl95jP0vQoxUYC410edOvq0mecMjkvg9TRcmU4lXAGcVUGU2x1T RT3Ocsx2hLgdjiR14sjyqq64oDla0AFXWEX6mEr+6tNJER4xSPwN8hoYwPOnVzNkI7zV lwFA== Original-Received: by 10.50.188.199 with SMTP id gc7mr36691624igc.4.1357015767898; Mon, 31 Dec 2012 20:49:27 -0800 (PST) Original-Received: by 10.64.170.193 with HTTP; Mon, 31 Dec 2012 20:49:27 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.223.177; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VIGsNsTS - 71ccc41fc68b - 20130101 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80054 Archived-At: --===============0496186807== Content-Type: multipart/alternative; boundary=14dae93406f3ccd9b104d232da9e --14dae93406f3ccd9b104d232da9e Content-Type: text/plain; charset=UTF-8 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 > --14dae93406f3ccd9b104d232da9e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 F= ri, 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\% =C2=A0$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 co= de didn't
>>> work:
>>>
>>> \usetypescriptfile[type-buy]
>>> \usetypescript[lucida][texnansi]
>>> \setupbodyfont[lucida,12pt]
>>> \starttext $\Delta$\stoptext
>
> If I change
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 \definefontsynonym [MathRoman] =C2=A0 =C2= =A0 [LucidaBright]
> into
> =C2=A0 =C2=A0 \definefontsynonym [MathRoman] =C2=A0 =C2=A0 [LucidaNewM= ath-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
=C2=A0 =C2=A0 \definemathsymbol [percent] =C2=A0[nothing] [tf] [37]
in math-lbr.mkii. That works, but I'm not yet sure how to redefine the<= br> character itself since the following doesn't work:
=C2=A0 =C2=A0 \definemathcharacter [37] =C2=A0[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

--14dae93406f3ccd9b104d232da9e-- --===============0496186807== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0496186807==--