From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15750 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re[2]: key=value parameters Date: Fri, 23 Jul 2004 13:32:01 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <895088253.20040723133201@iol.it> References: <4100D052.5070801@seznam.cz> <20040723111209.2d36bd92@glenlivet.elvenkind.com> <4100EE2D.4000906@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1090582369 28382 80.91.224.253 (23 Jul 2004 11:32:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2004 11:32:49 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 23 13:32:40 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 1BnyI4-0007ZU-00 for ; Fri, 23 Jul 2004 13:32:40 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7F8311278D; Fri, 23 Jul 2004 13:32:39 +0200 (CEST) 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 12798-07; Fri, 23 Jul 2004 13:32:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD2AD1277B; Fri, 23 Jul 2004 13:32:36 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 00BAB1277B for ; Fri, 23 Jul 2004 13:32:36 +0200 (CEST) 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 12777-08 for ; Fri, 23 Jul 2004 13:32:35 +0200 (CEST) Original-Received: from smtp3.libero.it (unknown [193.70.192.127]) by ronja.ntg.nl (Postfix) with ESMTP id 899BA12771 for ; Fri, 23 Jul 2004 13:32:35 +0200 (CEST) Original-Received: from localhost (172.16.1.82) by smtp3.libero.it (7.0.027-DD01) id 40D05D0F009B9D8D for ntg-context@ntg.nl; Fri, 23 Jul 2004 13:32:34 +0200 Original-Received: from ppp-82-142.29-151.libero.it (151.29.142.82) by smtp20.libero.it (7.0.027-DD01) id 40E3F8E2011594ED for ntg-context@ntg.nl; Fri, 23 Jul 2004 13:32:34 +0200 X-Priority: 3 (Normal) Original-To: mailing list for ConTeXt users In-Reply-To: <4100EE2D.4000906@seznam.cz> X-Virus-Scanned: by amavisd-new at libero.it 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15750 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15750 Friday, July 23, 2004 Vit Zyka wrote: >> Actually there is no need to define anything, you can just use \rawgetparameters >> instead of \getparameters. > Great, but unfortunately it does not work with empty parameter list []. > No I have no time but I will look for better definition of > \rawgetparameters and \rawsetparameter. A common workaround to this problem (which Hans should fix, though) is to force the list to not be empty. Say for example that parameter #1 of your macro accepts the user list of key=values. you would then use \rawgetparameters[something=else,#1] This way, even if #1 is empty it will work. -- Giuseppe "Oblomov" Bilotta