From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17611 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re: nath bug Date: Tue, 21 Dec 2004 14:15:44 +0100 Message-ID: <716860423.20041221141544@iol.it> References: <1102107398.421.3.camel@m51.ASTRO.UMontreal.CA> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103644514 8919 80.91.229.6 (21 Dec 2004 15:55:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2004 15:55:14 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 21 16:55:05 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CgmLp-0006YE-00 for ; Tue, 21 Dec 2004 16:55:05 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 548E8127DC; Tue, 21 Dec 2004 16:55:02 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28533-03; Tue, 21 Dec 2004 16:54:58 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1600D1279D; Tue, 21 Dec 2004 16:54:58 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0EF121279D for ; Tue, 21 Dec 2004 16:54:56 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28435-04-2 for ; Tue, 21 Dec 2004 16:54:55 +0100 (CET) Original-Received: from vsmtp2.tin.it (unknown [212.216.176.142]) by ronja.ntg.nl (Postfix) with ESMTP id 98ABF1278A for ; Tue, 21 Dec 2004 16:54:55 +0100 (CET) Original-Received: from OBLOMOV.mshome.net (82.55.157.243) by vsmtp2.tin.it (7.0.027) id 41C83A390000890C for ntg-context@ntg.nl; Tue, 21 Dec 2004 16:54:56 +0100 X-Priority: 3 (Normal) Original-To: mailing list for ConTeXt users In-Reply-To: <1102107398.421.3.camel@m51.ASTRO.UMontreal.CA> X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17611 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17611 Friday, December 3, 2004 David Munger wrote: > Hello Giuseppe, > I think I found a bug in the nath module. Try the following: > \usemodule[nath] > \starttext > \[ e^{f(x)} \] > \stoptext > And by the way, fractions in exponents are typeset too big: > \usemodule[nath] > \starttext > \[ e^{\frac{1}{\gamma-1}} \] > \stoptext I just hit the same bug working on my PhD thesis :) Basically, the fix that I implemented to solve the problem with ^^ not working to access arbitrary characters when nath was active causes this bug. A possible solution (as a quick hack because for the moment I can't look for a better solution) is to put \appendtoks \livesupsub@ \to\everymath in t-nath.tex after the definition of livesupsub@ and killsupsub@ Maybe Hans has some suggestion for a better solution: the problem is that the mathcode is ignored for characters with code 7 or 8 (sup- or subscript). So I'm currently changing the catcode of ^ and _ when entering mathmode. Ideas? -- Giuseppe "Oblomov" Bilotta