From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15648 Path: main.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.comp.tex.context Subject: Re: Re: nath catcode issues Date: Mon, 5 Jul 2004 14:42:18 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <20040705124217.GB2605@puritan.pcp.ath.cx> References: <20040704133638.GA23652@puritan.pcp.ath.cx> <413064969.20040705120139@iol.it> <20040705104452.GA2605@puritan.pcp.ath.cx> <1804185389.20040705130359@iol.it> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089031701 9239 80.91.224.253 (5 Jul 2004 12:48:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jul 2004 12:48:21 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Jul 05 14:48:11 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BhStH-00035C-00 for ; Mon, 05 Jul 2004 14:48:11 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id CC10410B65; Mon, 5 Jul 2004 14:48:02 +0200 (MEST) Original-Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by ref.ntg.nl (Postfix) with ESMTP id 2FABE10B1A for ; Mon, 5 Jul 2004 14:42:18 +0200 (MEST) Original-Received: from puritan.pcp.ath.cx ([213.112.43.242] [213.112.43.242]) by mxfep01.bredband.com with ESMTP id <20040705124217.FSPM3131.mxfep01.bredband.com@puritan.pcp.ath.cx> for ; Mon, 5 Jul 2004 14:42:17 +0200 Original-Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id 4B08CADFDF; Mon, 5 Jul 2004 14:42:18 +0200 (CEST) Original-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <1804185389.20040705130359@iol.it> User-Agent: Mutt/1.5.6i Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15648 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15648 * Giuseppe Bilotta [Jul 05, 2004 14:00]: > Weird indeed. I'm not using the latest ConTeXt. (Actually I'm > quite back with the updates ... gotta get down to it.) I'll see > if upgrading gives me the same problem and in case get a fix. OK. > >> \def\over{\ifmmode\n@err{Disabled command \string\over } > >> {No more a valid command. Replace {A \over B} with \frac A > >> B.}\else\o@over\fi} > >> \def\atop{\ifmmode\n@err{Disabled command \string\atop } > >> {No more a valid command. Use array instead.}\else\o@atop\fi} > >> \def\choose{\ifmmode\n@err{Disabled command \string\choose } > >> {No more a valid command. Replace {A \choose B} with \binom A > >> B.}\else\o@choose\fi} > > > Ah, of course... > > nikolai > > It works like that? Excellent. It seems I spoke too soon. It does in fact not work. \o@over can't be put like that inside the if-statement. A suggestion would be to re-work the whole section and instead make it \appendtoks \def\over{\n@err{Disabled command \string\over } {No more a valid command. Replace {A \string\over B} with \string\frac A B.}} \def\atop{\n@err{Disabled command \string\atop } {No more a valid command. Use array instead.}} \def\choose{\n@err{Disabled command \string\choose } {No more a valid command. Replace {A \string\choose B} with \string\binom A B. >>> }} \to\everymath but I don't know if that's a good solution. It forces you to use \string\over in the second argument to \n@err which I don't understand why, but otherwise TeX runs out of stack space. I suppose it's being expanded even though it shouldn't be. nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}