From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15978 Path: main.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.comp.tex.context Subject: Re: Re: Re: nath catcode issues Date: Sun, 8 Aug 2004 21:28:45 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <20040808192845.GB5305@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> <20040705124217.GB2605@puritan.pcp.ath.cx> <1946029967.20040807165824@iol.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091993344 1711 80.91.224.253 (8 Aug 2004 19:29:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Aug 2004 19:29:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 08 21:28:55 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 1BttLj-0002Y3-00 for ; Sun, 08 Aug 2004 21:28:55 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1D8B61277E; Sun, 8 Aug 2004 21:28:54 +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 24956-05; Sun, 8 Aug 2004 21:28:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B4D512772; Sun, 8 Aug 2004 21:28:51 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D1C1D12772 for ; Sun, 8 Aug 2004 21:28:49 +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 24774-09 for ; Sun, 8 Aug 2004 21:28:49 +0200 (CEST) Original-Received: from mxfep01.bredband.com (unknown [195.54.107.70]) by ronja.ntg.nl (Postfix) with ESMTP id 32AC9126F8 for ; Sun, 8 Aug 2004 21:28:49 +0200 (CEST) Original-Received: from puritan.pcp.ath.cx ([213.112.43.242] [213.112.43.242]) by mxfep01.bredband.com with ESMTP id <20040808192844.BTDZ6300.mxfep01.bredband.com@puritan.pcp.ath.cx> for ; Sun, 8 Aug 2004 21:28:44 +0200 Original-Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id 990A4ADFDF; Sun, 8 Aug 2004 21:28:45 +0200 (CEST) Original-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <1946029967.20040807165824@iol.it> User-Agent: Mutt/1.5.6i 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:15978 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15978 * Giuseppe Bilotta [Aug 08, 2004 16:30]: > ConTeXt ver: 2004.6.30 fmt: 2004.7.27 int: english mes: english Me too. > [Example] Argh, that doesn't happen here... > This is pdfeTeX, Version 3.141592-1.20a-rc4-2.1 (MiKTeX 2.4) pdfeTeX (Web2C 7.4.5) 3.14159-1.10b-2.1 I run latest tetex. > > > It works like that? Excellent. > > It seems I spoke too soon. It does in fact not work. > In the meantime, I'm thinking along the lines of something like > \def\over{% > \ifmmode\n@err{Disabled command \string\over } > {No more a valid command. Replace {A \over B} with \frac A B.}% > \let\next\relax > \else\let\next\o@over\fi\next} > \def\atop{% > \ifmmode\n@err{Disabled command \string\atop } > {No more a valid command. Use array instead.}% > \let\next\relax > \else\let\next\o@atop\fi\next} > \def\choose{% > \ifmmode\n@err{Disabled command \string\choose } > {No more a valid command. Replace {A \choose B} with \binom A B.}% > \lext\next\relax > \else\let\next\o@choose\fi\next} > which should be robust enough. Can you try it in the context > where my previous solution busted? I don't remember what busted, but it looks good. It works for my thesis, which is weird because you misspelled a \let (\lext) and it still worked fine. Furthermore, nested parentheses and stuff that produces implicit parentheses don't scale correctly. In fact, \left and \right don't seem to work either: \usemodule[nath] \starttext \[ (\frac{a}{b})^2 \] versus \[ \left(\frac{a}{b}\right)^2 \] \stoptext ..., 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);}