Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t5CKp7He006488 for ; Fri, 12 Jun 2015 22:51:08 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx110) with ESMTPS (Nemesis) id 0MQNJg-1YbzAY099Q-00Tn43 for ; Fri, 12 Jun 2015 22:51:02 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t5CKnUZE019435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Jun 2015 22:49:30 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t5CEbFFP004981; Fri, 12 Jun 2015 22:49:29 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12208813 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 12 Jun 2015 22:49:29 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t5CKnTcx007645 for ; Fri, 12 Jun 2015 22:49:29 +0200 Received: from ix.urz.uni-heidelberg.de (cyrus-portal01.urz.uni-heidelberg.de [129.206.100.97]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t5CKnTug019424 for ; Fri, 12 Jun 2015 22:49:29 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by ix.urz.uni-heidelberg.de (Postfix) with ESMTPS id 4EE012485B01 for ; Fri, 12 Jun 2015 22:49:29 +0200 (CEST) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t5CKnNkk002741 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 12 Jun 2015 22:49:26 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z3VtD-0006bA-A7 for LATEX-L@URZ.UNI-HEIDELBERG.DE; Fri, 12 Jun 2015 22:49:23 +0200 Received: from p5b391df3.dip0.t-ipconnect.de ([91.57.29.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jun 2015 22:49:23 +0200 Received: from news3 by p5b391df3.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jun 2015 22:49:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Lines: 56 References: <557AAB6A.2060109@morningstar2.co.uk> <4x0uuwrujdy7$.dlg@nililand.de> <557B20F7.80503@morningstar2.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5b391df3.dip0.t-ipconnect.de User-Agent: 40tude_Dialog/2.0.15.41de X-Spam-Level: X-Spam-Flag: No X-Envelope-From: X-Spam-Status: No, hits=-2.60 required=6 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS Message-ID: <1jaqm8itcvdpc$.dlg@nililand.de> Date: Fri, 12 Jun 2015 22:49:16 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: Re: Error with \keys_if_choice_exist if the value is hidden in a macro To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:h6SgmE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2gh dpBoesBW/dKDGG60XwV/Enm8LLef6/VeLrt+EEhW/gpR/iP8liQ2 X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7730 Am Fri, 12 Jun 2015 19:12:07 +0100 schrieb Joseph Wright: > On 12/06/2015 11:58, Ulrike Fischer wrote: >> That's a relieve. I was really very bewildered ;-) > > Glad I could help: is a release urgent? No. > >> Btw: I came across the problem because I was looking for a way to >> get >> >> \keys_set:nn { test } {type=\testvalue} >> >> working, if \testvalue expands to a known choice. Is there some good >> way to do it? >> >> \exp_args:Nnx\keys_set:nn { test } {type=\testvalue} >> >> works but could lead to problems if more keys are in the list. > > Like other keyval systems, l3keys does no expansion of the key or value > when parsing: that's by-design. I know ;-). But sometimes it would be useful to be able to set a choice or a boolean key through a tl or bool variable and not explicitly. Btw: This doesn't work either \documentclass{article} \usepackage{expl3} \begin{document} \ExplSyntaxOn \def\testvalueA{A} \keys_define:nn {test} { type .choices:nn = { A , B , \testvalueA } { blub }, } \keys_set:nn { test } {type=\testvalueA} \ExplSyntaxOff %Error \end{document} -- Ulrike Fischer http://www.troubleshooting-tex.de/