From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46542 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Using dsrom with MKIV Date: Thu, 25 Dec 2008 10:45:46 -0500 (EST) Message-ID: References: <49528C97.2010404@wxs.nl> <495344CD.7000704@elvenkind.com> 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 1230220115 17970 80.91.229.12 (25 Dec 2008 15:48:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Dec 2008 15:48:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 25 16:49:41 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 1LFsSz-0007Br-8W for gctc-ntg-context-518@m.gmane.org; Thu, 25 Dec 2008 16:49:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 41C891FB5A; Thu, 25 Dec 2008 16:48:26 +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 15811-02-4; Thu, 25 Dec 2008 16:47:16 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A0ED61FC77; Thu, 25 Dec 2008 16:47:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A54621FC6A for ; Thu, 25 Dec 2008 16:47:15 +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 14350-02-6 for ; Thu, 25 Dec 2008 16:46:39 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id 63D241FC27 for ; Thu, 25 Dec 2008 16:46:39 +0100 (CET) Original-Received: FROM [192.168.2.8] (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY hackers.mr.itd.umich.edu ID 4953AADD.9F5A5.18759 ; 25 Dec 2008 10:46:37 -0500 In-Reply-To: <495344CD.7000704@elvenkind.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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:46542 Archived-At: On Thu, 25 Dec 2008, Taco Hoekwater wrote: > 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 > Thank you. After making this change and regenerating formats, the dsrom works correctly for both the test document and my actual document. 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 ___________________________________________________________________________________