From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17155 Path: main.gmane.org!not-for-mail From: Christopher Creutzig Newsgroups: gmane.comp.tex.context Subject: Re: \mathstrut in \underbrace and nath Date: Fri, 19 Nov 2004 16:12:18 +0100 Message-ID: <419E0D52.10701@creutzig.de> References: <20041117160050.GE8954@puritan.pcp.ath.cx> <179845091.20041118163421@iol.it> <20041118185157.GN9088@puritan.pcp.ath.cx> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100877153 17422 80.91.229.6 (19 Nov 2004 15:12:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2004 15:12:33 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 19 16:12:24 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 1CVAQy-0000Oa-00 for ; Fri, 19 Nov 2004 16:12:24 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 638861279D; Fri, 19 Nov 2004 16:12:24 +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 19953-03-7; Fri, 19 Nov 2004 16:12:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A74B312788; Fri, 19 Nov 2004 16:12:21 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E6F6912788 for ; Fri, 19 Nov 2004 16:12:20 +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 19953-03-6 for ; Fri, 19 Nov 2004 16:12:20 +0100 (CET) Original-Received: from mailgate2.uni-paderborn.de (unknown [131.234.22.35]) by ronja.ntg.nl (Postfix) with ESMTP id 48EA912772 for ; Fri, 19 Nov 2004 16:12:20 +0100 (CET) Original-Received: from mlt131.math.uni-paderborn.de ([131.234.103.131]) by mailgate2.uni-paderborn.de with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1CVAQE-0001uM-RC for ntg-context@ntg.nl; Fri, 19 Nov 2004 16:11:38 +0100 User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: de, en-gb, en, en-us Original-To: mailing list for ConTeXt users In-Reply-To: <20041118185157.GN9088@puritan.pcp.ath.cx> X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-UNI-PB_FAK-EIM-MailScanner-Information: Please see http://imap.uni-paderborn.de for details X-UNI-PB_FAK-EIM-MailScanner: Found to be clean X-UNI-PB_FAK-EIM-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-5, required 4, AUTH_EIM_USER -5.00) X-MailScanner-From: christopher@creutzig.de 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:17155 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17155 Nikolai Weibull wrote: > ! Undefined control sequence. > \dodosmash [#1]->\edef \@@smash > {#1}\futurelet \nexttoken \dododosmash > \relbar ->\mathrel {\smash > -} Uh-uh. The problem is clear: \inlinemath tries (in the definition of \inlinemath@) to expand the formula (in the sense of TeX macro expansion). \longrightarrow cum suis are, however, not expandable in ConTeXt. Now, I do believe the xdef is a bug in nath, but the following workaround does work: \protected\def\longrightarrow {\relbar\joinrel\rightarrow} Hans, do you have a command that sort of changes an existing definition as if \protected had been used in the first place? regards, Christopher