From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16263 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re: nath problems and patches Date: Wed, 25 Aug 2004 22:48:52 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <388881332.20040825224852@iol.it> References: <411CCCF8.80907@mupad.de> 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 1093467106 6888 80.91.224.253 (25 Aug 2004 20:51:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Aug 2004 20:51:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 25 22:51:42 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 1C04kA-0008L0-00 for ; Wed, 25 Aug 2004 22:51:42 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 30D4D1278E; Wed, 25 Aug 2004 22:51:41 +0200 (CEST) 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 24316-02-7; Wed, 25 Aug 2004 22:51:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4DC831278A; Wed, 25 Aug 2004 22:51:38 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE7071278A for ; Wed, 25 Aug 2004 22:51:35 +0200 (CEST) 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 24316-02-6 for ; Wed, 25 Aug 2004 22:51:35 +0200 (CEST) Original-Received: from smtp0.libero.it (unknown [193.70.192.33]) by ronja.ntg.nl (Postfix) with ESMTP id A18E812775 for ; Wed, 25 Aug 2004 22:51:34 +0200 (CEST) Original-Received: from localhost (172.16.1.82) by smtp0.libero.it (7.0.027-DD01) id 40D2BD6000DF10C3 for ntg-context@ntg.nl; Wed, 25 Aug 2004 22:51:34 +0200 Original-Received: from ppp-209-130.29-151.libero.it (151.29.130.209) by smtp20.libero.it (7.0.027-DD01) id 40E3F8E202357CD1 for ntg-context@ntg.nl; Wed, 25 Aug 2004 22:51:34 +0200 X-Priority: 3 (Normal) Original-To: mailing list for ConTeXt users In-Reply-To: <411CCCF8.80907@mupad.de> X-Virus-Scanned: by amavisd-new at libero.it 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16263 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16263 Friday, August 13, 2004 Christopher Creutzig wrote: > Giuseppe, > you may or may not know about these problems already, so I decided to > simply send them all. I'm using t-nath.tex 2003.12.08, updated five > minutes ago from www.tug.org, ConTeXt 2004.6.26, and pdfeTeX > 3.14159-1.10b-2.1 (Web2C 7.4.5). > nath seems to have trouble with $$...$$-formulas. This file won't compile: > \usemodule[nath] > \starttext > \placeformula > $$a$$ > \stoptext > Error message: > Runaway argument? > \@@dollar {\to \asciiB \ExpandBothAfter \doifincsnameelse \asciiA > \asciiB \ETC. > ! File ended while scanning use of \convertargument. > Replacing $$...$$ by \startformula...\stopformula fixes this, That's because nath recatcodes the $ signs and the original definition of \placeformula doesn't work when they are active. (Hans, can we look into this together, please?) Don't use $$ ... $$ with \placeformula (they should work ok for numberless formulas though). Actually, you've hit on one of the most strange bugs in the nath module: it didn't support use of \startformula ... \stopformula either! It *seemed* to work, but it didn't really act properly. You may want to try your examples with \[ ... \] instead of \startformula ... \stopformula, and see if you still have the problems. In the mean time, I will upload a new version of nath which should also allow use of \startformula. > Another bug: t-nath.tex defines \savecatcode and > \restorecatcode, but these names have already been used in > verb-ini.tex. I have locally replaced these with > \nath!savecatcode and \nath!restorecatcode, seems to work. Thanks for spotting it! -- Giuseppe "Oblomov" Bilotta