From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80027 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: Percent in mkii mathmode is rendering wrongly using lucida. Date: Fri, 28 Dec 2012 02:18:46 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1356657535 5746 80.91.229.3 (28 Dec 2012 01:18:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2012 01:18:55 +0000 (UTC) Cc: mailing list for ConTeXt users , Hans Hagen To: Yue Wang Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 28 02:19:10 2012 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 1ToObM-0006kC-LJ for gctc-ntg-context-518@m.gmane.org; Fri, 28 Dec 2012 02:19:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8DB22101E6; Fri, 28 Dec 2012 02:18:53 +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 z9gG8W-1ziSn; Fri, 28 Dec 2012 02:18:51 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 146C2101E8; Fri, 28 Dec 2012 02:18:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DB755101E8 for ; Fri, 28 Dec 2012 02:18:48 +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 yublvXyph4pp for ; Fri, 28 Dec 2012 02:18:48 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 08982101E6 for ; Fri, 28 Dec 2012 02:18:47 +0100 (CET) Original-Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qBS1Ik6F029841 for ; Fri, 28 Dec 2012 02:18:47 +0100 Original-Received: by mail-wi0-f171.google.com with SMTP id hn14so7981921wib.4 for ; Thu, 27 Dec 2012 17:18:46 -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=SzI+1KfITXZ/3Rz3QZKXQ2ZGPq2lyWmRmifSMbC37s0=; b=oBoLDZXmDAh00hXMvO5CpAX3c+RAzMlbiAzOc6lbJcHBf5tKITnpM5IG4OjGw0QtxA PefLTKeIjj8gXqzudXi1SvgfCtdAujuIxJlIVXftx+YreMpQDJXf7qZAvB0PbTE5qc4v aNG0ybEy2lMZpDmc+DZrrLI/mkuLN0b4gUKGEjYbXfhi9rTvV5tzTzfe/NRmxEzpPfEz aBM9txaWN5KrQenQPS7oWIREajCkJjnMMZKjc/XuoAmVyZ16hQ7vTEXqSZ7LtX116U9O zpcZxpdsdbduJJhefSH87br3f+OY78uyaoaSxvBaCgLQIwBJ4lhEK+5VQXhK2auhj/Of ZtYA== Original-Received: by 10.180.84.131 with SMTP id z3mr42155087wiy.25.1356657526760; Thu, 27 Dec 2012 17:18:46 -0800 (PST) Original-Received: by 10.216.98.67 with HTTP; Thu, 27 Dec 2012 17:18:46 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.171; 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: 0TIENiKaD - 5d011fce3195 - 20121228 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:80027 Archived-At: 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 ___________________________________________________________________________________