From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50535 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: bugs in math engine? Date: Fri, 15 May 2009 10:03:42 -0400 (EDT) Message-ID: References: <09810186-AD6A-4FC2-B2BE-F12A4C9B203C@mpq.mpg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242396318 19770 80.91.229.12 (15 May 2009 14:05:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 May 2009 14:05:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 15 16:05:09 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1M4y28-0002hW-AY for gctc-ntg-context-518@m.gmane.org; Fri, 15 May 2009 16:05:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 853DD1FFFE; Fri, 15 May 2009 16:05:07 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05856-06-2; Fri, 15 May 2009 16:04:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C395D1FFFD; Fri, 15 May 2009 16:04:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E0E31FFDF for ; Fri, 15 May 2009 16:04:23 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05856-06 for ; Fri, 15 May 2009 16:04:05 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id B81251FFFD for ; Fri, 15 May 2009 16:04:04 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5) with ESMTP id n4FE43Jo030357 for ; Fri, 15 May 2009 16:04:03 +0200 Original-Received: FROM [192.168.2.8] (c-76-127-178-8.hsd1.ct.comcast.net [76.127.178.8]) By tombraider.mr.itd.umich.edu ID 4A0D7651.D288A.30863 ; Authuser adityam; 15 May 2009 10:04:01 EDT In-Reply-To: <09810186-AD6A-4FC2-B2BE-F12A4C9B203C@mpq.mpg.de> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.93.161; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 226298598 - a30a1869d4db - 20090515 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50535 Archived-At: On Fri, 15 May 2009, Oliver Buerschaper wrote: > Dear list, > > the following are probably bugs in the new math engine as of yesterday's beta > (2009.05.14 16:44): > > > 1. The symbols for number sets in Cambria Math aren't taken from the > double-struck variant. Hans, please apply the following patch to math-def.mkiv diff --git a/math-def.mkiv b/math-def.mkiv index 31db66e..30beb5c 100644 --- a/math-def.mkiv +++ b/math-def.mkiv @@ -97,12 +97,12 @@ \definemathcommand [tanh] [nolop] {\mfunction{tanh}} \definemathcommand [tan] [nolop] {\mfunction{tan}} -\definemathcommand [integers] {\mfunction{Z}} -\definemathcommand [reals] {\mfunction{R}} -\definemathcommand [rationals] {\mfunction{Q}} -\definemathcommand [naturalnumbers] {\mfunction{N}} -\definemathcommand [complexes] {\mfunction{C}} -\definemathcommand [primes] {\mfunction{P}} +\definemathcommand [integers] {\mathblackboard{Z}} +\definemathcommand [reals] {\mathblackboard{R}} +\definemathcommand [rationals] {\mathblackboard{Q}} +\definemathcommand [naturalnumbers] {\mathblackboard{N}} +\definemathcommand [complexes] {\mathblackboard{C}} +\definemathcommand [primes] {\mathblackboard{P}} % using attributes > 2. Vector arrows look somewhat strange in Cambria Math ... is this perhaps > due to the font itself? > > --- > \usetypescript[cambria] > \setupbodyfont[cambria] > > > \starttext > > The arrows should neither extend over the right bracket nor into the primes: > > \startformula{} > [\alpha(\vec{k})\alpha(\vec{k}'),\alpha^\dagger(\vec{k}'')] > \stopformula > > \stoptext > --- I don't know whether the font or luatex/context is at fault. > 3. The command \implies is undefined (see previous posting). Hans, can we add this somewhere? %D This is a temporary hack until we figure out how to do this correctly. \unexpanded\def\implies {\mathrel{\;\Longrightarrow\;}} \unexpanded\def\impliedby {\mathrel{\;\Longleftarrow\;}} \unexpanded\def\And {\mathrel{\;\internalAnd\;}} \unexpanded\def\iff {\;\Longleftrightarrow\;} Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________