From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17136 Path: main.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.comp.tex.context Subject: Re: \mathstrut in \underbrace and nath Date: Thu, 18 Nov 2004 19:51:57 +0100 Message-ID: <20041118185157.GN9088@puritan.pcp.ath.cx> References: <20041117160050.GE8954@puritan.pcp.ath.cx> <179845091.20041118163421@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 1100803937 24839 80.91.229.6 (18 Nov 2004 18:52:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2004 18:52:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 18 19:52:01 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 1CUrNx-0007Qe-00 for ; Thu, 18 Nov 2004 19:52:01 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 19877127D5; Thu, 18 Nov 2004 19:52:00 +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 10924-04-3; Thu, 18 Nov 2004 19:51:57 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 87116127C8; Thu, 18 Nov 2004 19:51:57 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 39472127C8 for ; Thu, 18 Nov 2004 19:51: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 10924-04-2 for ; Thu, 18 Nov 2004 19:51:55 +0100 (CET) Original-Received: from mxfep01.bredband.com (unknown [195.54.107.70]) by ronja.ntg.nl (Postfix) with ESMTP id 549FF127B0 for ; Thu, 18 Nov 2004 19:51:55 +0100 (CET) Original-Received: from puritan.pcp.ath.cx ([213.112.43.197] [213.112.43.197]) by mxfep01.bredband.com with ESMTP id <20041118185155.RPJO16147.mxfep01.bredband.com@puritan.pcp.ath.cx> for ; Thu, 18 Nov 2004 19:51:55 +0100 Original-Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id 67499AE041; Thu, 18 Nov 2004 19:51:57 +0100 (CET) Original-To: mailing list for ConTeXt users Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <179845091.20041118163421@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: , 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:17136 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17136 * Giuseppe Bilotta [Nov 18, 2004 16:40]: > > \usemodule[nath] > > \starttext > > \startnathequation > > \underbrace{\mathstrut rr\dots r}_{n \text{times}} > > \stopnathequation > > \stoptext > > Error: > > ! Missing } inserted. > > > > My guess is that the expansion of \mathstrut, being \vphantom(, is being > > misinterpreted as a delimiter (as '(' is active in nath), but that's > > just a layman's guess. > Bingo. In nath this is now fixed by letting \mathstrut use | > instead of (. :-) > I'll try to get the new amsl and nath modules out today. Thanks, great work. I don't want to rain on your parade, but I just found another bug: \usemodule[nath] \starttext $A \longrightarrow B$ \stoptext gives ! Undefined control sequence. \dodosmash [#1]->\edef \@@smash {#1}\futurelet \nexttoken \dododosmash \relbar ->\mathrel {\smash -} \longrightarrow ->\relbar \joinrel \rightarrow A \longrightarrow B \inlinemath ...inemath@ {\noexpand \wrapfrac@ { #1 }} \endgroup \protectinlin... \imath@ ...mathoptions@on \o@math \inlinemath {#1} \o@math \mathoptions@off ... l.19 $A \longrightarrow B$ ? which seems a bit more difficult to fix. I can't do it anyway, 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);}