From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58370 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \doifinset Date: Fri, 23 Apr 2010 18:03:51 +0200 Message-ID: <4BD1C4E7.4000407@googlemail.com> References: <4BD1DF6F.22808.1F77F24@wwl.musensturm.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272038673 18412 80.91.229.12 (23 Apr 2010 16:04:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2010 16:04:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 23 18:04:32 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O5LMl-000118-01 for gctc-ntg-context-518@m.gmane.org; Fri, 23 Apr 2010 18:04:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B911FC9D5C; Fri, 23 Apr 2010 18:04:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oR0lH8TSfDdZ; Fri, 23 Apr 2010 18:04:19 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C083BC9D62; Fri, 23 Apr 2010 18:04:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E1A5C9D62 for ; Fri, 23 Apr 2010 18:04:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id optNQuuQA91O for ; Fri, 23 Apr 2010 18:03:58 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by balder.ntg.nl (Postfix) with ESMTP id 7D15CC9D5C for ; Fri, 23 Apr 2010 18:03:58 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id e21so233891fga.2 for ; Fri, 23 Apr 2010 09:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=28P50ClXfLQfCeqk6S3V43XwCEUhcKMaIL+eAtMM10I=; b=T1xWz/ksZLTdplwDQcMWhn354WdWgvVy66+EfcDZSy9NiNH0TSIpkCVeXXeE3fLeQs Te11u1yo3y0YMKxeBt0pFE69heplA/oItSb/+0YrMyxiA6FblwIshZ1PAkcp9+htId8W /YMR5N+H0rj7saKfrRUgSMd/DO3ZlZ8J1aNTI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=jHqOBu3m50eRATgROqdODMqiSyms1iGWnj8GuNKGHXzAettdQPk6bnb8yShBLLvO2V bK0wSKUmU9XMSXuuhsl7E1dukdromp7c4AUHHdbx0q/DrXHPYMgyYpyXomPu0P2ojOox Iud69rfV/ixC66oA0CUhzGEc5aOiIjB3T9B8U= Original-Received: by 10.86.239.11 with SMTP id m11mr639918fgh.22.1272038634627; Fri, 23 Apr 2010 09:03:54 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2934BA.dip.t-dialin.net [91.41.52.186]) by mx.google.com with ESMTPS id l12sm980508fgb.2.2010.04.23.09.03.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Apr 2010 09:03:53 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <4BD1DF6F.22808.1F77F24@wwl.musensturm.de> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:58370 Archived-At: Am 23.04.10 17:57, schrieb Wolfgang Werners-Lucchini: > Hallo, > > on the garden at > > http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions > > one can read to the command \doifinset > > 'If the first string expands 'empty', it is considered to be always > in the set.' > > But > > \starttext > \doifinset{}{A,B,C}{should go} > \stoptext > > seams to show that this is wrong. > > Is my example wrong or my understanding of the above sentence? > The sentence is wrong, if the first argument is empty ConTeXt considers the argument to be *not* in the set (verified in the source). Wolfgang ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________