Am Fri, 12 Jun 2015 10:50:34 +0100 schrieb Joseph Wright:
>> Why is the T-branch executed in the second case? Is is a bug?
> Yes:
That's a relieve. I was really very bewildered ;-)
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.
> P.S. Will also look at your TeX-sx question on key setting!
Thanks, it is not pressing but imho a better solution than an
explicit "known" group would be fine. I already run into an error
when I forgot to put a key in this group ;-(.
--
Ulrike Fischer
http://www.troubleshooting-tex.de/