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 t5E8Vi2Q017092 for ; Sun, 14 Jun 2015 10:31:45 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx109) with ESMTPS (Nemesis) id 0MdWvA-1YenkE2BLg-00PLP8 for ; Sun, 14 Jun 2015 10:31:38 +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 t5E8TxcB012892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Jun 2015 10:29:59 +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 t5E3xjeJ023224; Sun, 14 Jun 2015 10:29:59 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12190199 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 14 Jun 2015 10:29:59 +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 t5E8TxrY006279 for ; Sun, 14 Jun 2015 10:29:59 +0200 Received: from relay.mailchannels.net (ar-005-i205.relay.mailchannels.net [162.253.144.87]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t5E8TpQR012850 for ; Sun, 14 Jun 2015 10:29:55 +0200 X-Sender-Id: netnames|x-authuser|joseph.wright@morningstar2.co.uk Received: from smtp1.easily.co.uk (ip-10-33-12-218.us-west-2.compute.internal [10.33.12.218]) by relay.mailchannels.net (Postfix) with ESMTPA id 6373D448A for ; Sun, 14 Jun 2015 08:29:49 +0000 (UTC) X-Sender-Id: netnames|x-authuser|joseph.wright@morningstar2.co.uk Received: from smtp1.easily.co.uk (smtp1.easily.co.uk [10.83.15.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.4.8); Sun, 14 Jun 2015 08:29:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: netnames|x-authuser|joseph.wright@morningstar2.co.uk X-MailChannels-Auth-Id: netnames X-MC-Loop-Signature: 1434270589747:4047066716 X-MC-Ingress-Time: 1434270589746 Received: from [86.190.16.65] (port=56597 helo=Palladium.local) by smtp1.easily.co.uk with esmtpa (Exim 4.43) id 1Z43IB-0007RM-Ls for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 14 Jun 2015 09:29:46 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 References: <557AAB6A.2060109@morningstar2.co.uk> <4x0uuwrujdy7$.dlg@nililand.de> <557B20F7.80503@morningstar2.co.uk> <1jaqm8itcvdpc$.dlg@nililand.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-AuthUser: joseph.wright@morningstar2.co.uk Message-ID: <557D3B52.5010807@morningstar2.co.uk> Date: Sun, 14 Jun 2015 09:29:06 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Error with \keys_if_choice_exist if the value is hidden in a macro To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <1jaqm8itcvdpc$.dlg@nililand.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:URKGpSfYjB8=:GNSldarC3RGkjI8CW0Le84lJmd 3DxH2cQBqfxmB4IjGLsiGIkpoEinUn8Pqa30M40W4a+VlyGx+ief3kEOgAPh/YshzpONy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ERbtopoSy1ajb58tjsxi7196TXIbDufLB dp0eNVoTR8s46eKHWkol67Alqdqe2NNTiqbtc3VkutEMc3spYeQ1p8MxjL9g5gHcbVLYT6TRg lck67GY+FXnjQuC+z31PXDFlNSCvXgz7BFFA5u4GnWy2JuPB7WSQ8kolz6pnVjRHKkdqSPliT Q4TzV+aoZJll0hS32BhO3ICMnF4gi/gfrWEJHjuOq8dGgMQm05cprNKOiK77hghyEk2US+Pwj eIJSLWyBGp3RbvnPvm5n8ubBBfe9RVVRyUGzP+A+1qaFqjZ7+6oXLhT5AF8UZILf/ifbiJFZV SC5xPJXmrsr6ohc2sPtqSgBPgt9K6chv9sm6WfPkDpJXL98vRXbf6RtJnxyh/lv32+pEubjA= = X-UI-Loop:V01:0r8K8aPh4K8=:SRHwH/iQymXm1iZf6CDJO+UBub5PRTDoOJGuPIDSn3o= X-UI-Out-Filterresults: notjunk:1;V01:K0:SR/Q+u+znG8=:7MxDpELI/1ComOnRmCZpdE aG3kArDXt/ZDh456NolsNrB4SZdKI6GQQ9+bGMViAeQ45aGYLge8qtAB1IvijRtj1kaibdEC2 ZmF+j3Vasc0hnF9YEGWAehqci3Fv0SgsfeQwpxJspWBILNVL0bNjMZjipgrMaiaRhIALVdP2k 3RtT0BCjuZETRkzAbAiur2poHyHTixkInOR0ZGLpycPTeFblbOJpWghkB27y9zBNAV59scMPT EJU7Kdb+8vynFOOpLAAinpZqTO28uwjLfMkrnBz2JlX1OMGkgdZZDUWTt4eKm46t43TJ7iQ2W D55xUw/WOEUbEdFaVWU3RMncvFnzlvhBjEYqcB3zBuZ01N6NotRqhEIDfNZiP5/8g3agShCee jtdFGfhfcepRXA2Z6kGQNOibifLe24pOa9Rw0A/bwdM+M7pt5KCFD5LmZMsFrYP3OUeflp1ke 0RCrX2Yj+7qn90FOalG6XdDf4pEqyIWTmbz2SncEt3ere76zGqtD X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7731 On 12/06/2015 21:49, Ulrike Fischer wrote: > 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} > > Problem identified: will also be fixed in an update (I'll send later today). -- Joseph Wright