From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19112 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Peter_M=FCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: special macro problem again... Date: Thu, 17 Mar 2005 17:45:43 +0100 (CET) Message-ID: References: Reply-To: ConTeXt list NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1111078443 4782 80.91.229.2 (17 Mar 2005 16:54:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2005 16:54:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 17 17:54:03 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBy6f-0003I0-NX for gctc-ntg-context-518@m.gmane.org; Thu, 17 Mar 2005 17:44:22 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D825412911; Thu, 17 Mar 2005 17:45:52 +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 08797-09-3; Thu, 17 Mar 2005 17:45:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A250C128FA; Thu, 17 Mar 2005 17:45:48 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 55B7F128FA for ; Thu, 17 Mar 2005 17:45:47 +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 08797-09-2 for ; Thu, 17 Mar 2005 17:45:46 +0100 (CET) Original-Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by ronja.ntg.nl (Postfix) with ESMTP id 9C45A12814 for ; Thu, 17 Mar 2005 17:45:46 +0100 (CET) Original-Received: from gaston.free.fr (rennes-1-213-228-43-113.dial.proxad.net [213.228.43.113]) by postfix4-1.free.fr (Postfix) with ESMTP id F225E2BA5AD for ; Thu, 17 Mar 2005 17:45:45 +0100 (CET) Original-Received: by gaston.free.fr (Postfix, from userid 500) id 3949013C049; Thu, 17 Mar 2005 17:45:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.free.fr (Postfix) with ESMTP id 37D73148082 for ; Thu, 17 Mar 2005 17:45:43 +0100 (CET) X-X-Sender: peter@gaston.free.fr Original-To: ConTeXt list In-Reply-To: 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 X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:19112 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19112 It's a repost. Does anybody have an idea to solve this problem? If not, I'm going to buy the TeXbook... I try to expose the problem a bit clearer: \newcount\MyVersion \def\MyMacro#1{% This macro is somewhere in an environment file. \getgparameters[XXX][#1] \global\advance\MyVersion by 1 \bTR \expanded{\bTD \the\MyVersion \eTD} \expanded{\bTD \XXXNumber \eTD}\eTR } \def\MyNumber#1#2#3{% This macro is a special one for the document. \doifmode{aaa}{#1}\doifmode{bbb}{#2}\doifmode{ccc}{#3}} \enablemode[bbb] \starttext \bTABLE \bTR \bTD Version \eTD \bTD Number \eTD \eTR \MyMacro{Number=123} \MyMacro{Number=\MyNumber{111}{222}{333}} % error: Incomplete \iffalse \MyMacro{Number=456} \eTABLE \stoptext Greetings, Peter -- http://pmrb.free.fr/contact/