From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29353 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: eating up & Date: Fri, 14 Jul 2006 12:56:10 +0200 Message-ID: <44B7784A.3020305@gmx.net> References: <200B224C-D2F8-48F1-AC0C-A0520AB5D783@science.uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152874595 29567 80.91.229.2 (14 Jul 2006 10:56:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Jul 2006 10:56:35 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 14 12:56:32 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1G1LLQ-0008CF-80 for gctc-ntg-context-518@m.gmane.org; Fri, 14 Jul 2006 12:56:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A250B12883; Fri, 14 Jul 2006 12:56:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17814-04; Fri, 14 Jul 2006 12:56:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 54702127EE; Fri, 14 Jul 2006 12:56:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3A16E127EE for ; Fri, 14 Jul 2006 12:56:15 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17195-09 for ; Fri, 14 Jul 2006 12:56:06 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by ronja.ntg.nl (Postfix) with SMTP id A36CF127E9 for ; Fri, 14 Jul 2006 12:56:04 +0200 (CEST) Original-Received: (qmail invoked by alias); 14 Jul 2006 10:56:02 -0000 Original-Received: from i577B9B08.versanet.de (EHLO [192.168.1.3]) [87.123.155.8] by mail.gmx.net (mp040) with SMTP; 14 Jul 2006 12:56:02 +0200 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Original-To: mailing list for ConTeXt users In-Reply-To: <200B224C-D2F8-48F1-AC0C-A0520AB5D783@science.uva.nl> X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29353 Archived-At: Hans van der Meer wrote: > I want to do something with & in tables (making it an active column > separator). > Now I have a macro with two arguments for parameters in Context style: > > \def\starttablex{\dodoubleargument\dostarttablex} ^^^^^^^^ Shouldn't this be \dodoubleempty for optional arguments? Peter > \def\dostarttablex[#1][#2]{% > > Now for input: \starttable[][] & ... all is well, > but for input: \starttable[] & ... the ampersand appears to be eaten > up by the double argument expansion. > > How can I prevent that, letting & end the parameter scanning and using > it as the first input? > > Hans van der Meer > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context