From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36310 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: how to get a commalist out of {}-brackets Date: Thu, 30 Aug 2007 15:55:24 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1188511184 8838 80.91.229.12 (30 Aug 2007 21:59:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2007 21:59:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 30 23:59:41 2007 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 lo.gmane.org with esmtp (Exim 4.50) id 1IQs37-0001Ul-Aw for gctc-ntg-context-518@m.gmane.org; Thu, 30 Aug 2007 23:59:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3B7671FE94; Thu, 30 Aug 2007 23:58:45 +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 01775-09-4; Thu, 30 Aug 2007 23:58:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CC2C20373; Thu, 30 Aug 2007 21:55:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8383A20373 for ; Thu, 30 Aug 2007 21:55:32 +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 28271-02-3 for ; Thu, 30 Aug 2007 21:55:27 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id 3F4661FE63 for ; Thu, 30 Aug 2007 21:55:26 +0200 (CEST) Original-Received: FROM aditya.engin.umich.edu (udhcp-wlan88.public.engin.umich.edu [141.213.120.98]) BY skycaptain.mr.itd.umich.edu ID 46D720AC.C188F.24118 ; 30 Aug 2007 15:55:25 -0400 In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:36310 Archived-At: On Thu, 30 Aug 2007, Peter Schorsch wrote: > Hi, > > I need to forward an embedded commalist to an subfunction. The problem: how > can I get rid of the {}-brackets to access the embedded commalist? > > The functions looks like: > > \def\function#1[#2] > {\getparameters[label][a=,b=,embedded=,#2] > subfunction[\labelembedded] \expanded{\subfunction[\labelembedded]} > ...} > > \def\subfunction#1[#2] > {\getparamters[label][a,c,#1] > \labela % will answer with emptyness > #2 % returns {a=,c=} ... but I need for the getparamteres a=,c= > ...} > > to call the function: > > \function[a=etwas,b=ddd,embedded={a=nochWas,c=hope}] Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________