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 t5C9UgL1025203 for ; Fri, 12 Jun 2015 11:30:43 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx101) with ESMTPS (Nemesis) id 0M55Na-1ZEqGI16z8-00zHTK for ; Fri, 12 Jun 2015 11:30:37 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t5C9SRPa018658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Jun 2015 11:28:28 +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 t5C9OXa3004981; Fri, 12 Jun 2015 11:28:27 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12189658 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 12 Jun 2015 11:28:27 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t5C9SRIv017722 for ; Fri, 12 Jun 2015 11:28:27 +0200 Received: from ix.urz.uni-heidelberg.de (cyrus-portal01.urz.uni-heidelberg.de [129.206.100.97]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t5C9SQb5018640 for ; Fri, 12 Jun 2015 11:28:27 +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 EAA07242F8C7 for ; Fri, 12 Jun 2015 11:28:26 +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 t5C9SK0C018538 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 12 Jun 2015 11:28:23 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z3LG6-0001Qv-SU for LATEX-L@URZ.UNI-HEIDELBERG.DE; Fri, 12 Jun 2015 11:28:18 +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 11:28:18 +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 11:28:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Lines: 48 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=-3.90 required=6 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS Message-ID: Date: Fri, 12 Jun 2015 11:28:05 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: 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:/BmFyMm2aQA=:51IiKEeLpIOZPAT8qZ5PUXs9kC Yu+tTlo/j1tNdFGikBwXOMQx4fHzlGtr2tPuG8di+XgddDmuiPLXOQPCtv78ST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YldImtkPIltlRZ/A10Mn/AYV6IQvBj5eoIanorw q2iOx/LERNC4u8cdj3SgTd+DcR1Zvv8DK/uZamZff67Kv81RTs0Zg2LMi2mwnNt8oo+IwSAQ7 xz8H+FDlzagGftlqDLC0isLKcl51HEqJLrFFMgMnXa+bCXpgm7Ro4jcciCWs29ZhGC5+di+wV fMK1QJuUh46DzWPKewFseWGHH/t+llJ5e4cdnpRKI9y5oT/lGVRXelm4WzON6cjPJC9vW39/m 7LtXSsZ+4ntNQYGhG7vbbzGr29qdURI3YJijmy8HLJndPYDtzv9Syd9DGCZea0SBLcKrXzway kyoqthNEhJnjmyBBi3lY7MQIgFH9FrM+mTI/2b7mgMy5FmJQm5 X-UI-Loop:V01:Kop9rBQ7uvU=:qLbnv10xZqI359KxijDBz+uRCsEX5H1/65nLsxOyClk= X-UI-Out-Filterresults: notjunk:1;V01:K0:H0uYQPcY4w4=:38MkwJdl3SSewSYwOEUlVf 1Q7jDEENpvx2UgLqyk+CXZOy1+bbYeFP3nsxPGfs7ECdldljN5y3NxreULKd64Y7XOa+OUTTG xS72qqOyr9V43uHkNCOhgf0bnyIIWMmZRTb6SNfcO942T2krS9er+L23/qq0KOR841Wpbllpv S0X4OJSbG3yCOmmIY0EFjAxz0cEEvV/L+Bc/baBZBzMIiQjJ5PZ084ICaDSvtZtATSdYhzJJe 6lY+1hY0yxQIYF8VCZb6B509sm1+1zrv5n9cmBhb06yrj+u2IMrpEw+oKFKLqOMDGnCKwDshG O0wQ00entgsxDp1zphNZGCbgnPXqfmvBDa6sJ3RzrTq2cbqhEHoj4qFufi6rgnmPEkZE1ePIv k/NmW+YKr/KOMhsiV0vsrSoRSaekuySE7GK6QzwMCiXIcB0Tkm1hBMaS9SqsF+qkNIE0w32vw l4hfm2067UjIPBtVVVag90KJZEKUejXMLOfHKpIvI5BOglLq7zYK X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7726 I'm getting an error in this document and don't understand it ;-( \documentclass{article} \usepackage{expl3} \begin{document} \ExplSyntaxOn \keys_define:nn {test} { type .choices:nn = { A , B } { blub }, } %Works as expected: \keys_if_choice_exist:nnnT { test } { type }{ C} { \keys_set:nn { test } {type=C} } {choice~doesn't~exist!} \def\testvalue{A} %Error \keys_if_choice_exist:nnnT { test } { type }{ \testvalue } { \keys_set:nn { test } {type=\testvalue} } {choice~doesn't~exist!} \ExplSyntaxOff \end{document} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LaTeX error: "kernel/key-choice-unknown" ! ! Key 'test/type' accepts only a fixed set of choices. ! ! See the LaTeX3 documentation for further information. ! ! For immediate help type H . !............................................... Why is the T-branch executed in the second case? Is is a bug? -- Ulrike Fischer http://www.troubleshooting-tex.de/