From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46527 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Using dsrom with MKIV Date: Thu, 25 Dec 2008 09:31:09 +0100 Message-ID: <495344CD.7000704@elvenkind.com> References: <49528C97.2010404@wxs.nl> 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 1230193987 32444 80.91.229.12 (25 Dec 2008 08:33:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Dec 2008 08:33:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 25 09:34:14 2008 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 1LFlfY-0000K5-F7 for gctc-ntg-context-518@m.gmane.org; Thu, 25 Dec 2008 09:34:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B11BD1FCDD; Thu, 25 Dec 2008 09:32:57 +0100 (CET) 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 18300-03-3; Thu, 25 Dec 2008 09:31:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 30DE91FC14; Thu, 25 Dec 2008 09:31:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 84C8B1FC01 for ; Thu, 25 Dec 2008 09:31:46 +0100 (CET) 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 19120-02-2 for ; Thu, 25 Dec 2008 09:31:10 +0100 (CET) Original-Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by ronja.ntg.nl (Postfix) with ESMTP id 457391FC14 for ; Thu, 25 Dec 2008 09:31:10 +0100 (CET) Original-Received: from [192.168.178.20] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id mBP8VAs3068626 for ; Thu, 25 Dec 2008 09:31:10 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner 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:46527 Archived-At: Aditya Mahajan wrote: > > But why does it work if I replace mc by mr (as Wolfgang showed). Also, > how can I check the mathcode of a character, other than going through > the sources and figuring out where it is set. \message{\the\mathcode`\1 } And it is "0031. It should have been "7031 for variable family use. That is the value that initex initializes it to (that explains mkii). Mkiv sets the values explicitly (and incorrectly) In math-ini.lua: @@ -52,7 +52,7 @@ mathematics.classes.diacritic = mathematics.classes.accent mathematics.classes.large = mathematics.classes.op mathematics.classes.variable = mathematics.classes.alphabetic -mathematics.classes.number = mathematics.classes.nothing +mathematics.classes.number = mathematics.classes.alphabetic Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________