Print

Print


On 11/11/2010 09:23, Joseph Wright wrote:
> On 11/11/2010 09:01, Rémy Oudompheng wrote:
>> I am encountering a problem with l3keys : the following code
>>
>> \documentclass{article}
>> \usepackage{expl3}
>> \begin{document}
>> \ExplSyntaxOn
>> \keys_define:nn { othermodule } {
>> a .code:n = Hello,
>> }
>> \keys_define:nn { module } {
>> a .code:n = Hello,
>> b .code:n = \keys_set:nn{othermodule}{a},
>> c .code:n = B,
>> }
>> \keys_set:nn { module }{b,c}
>> \ExplSyntaxOff
>> \end{document}
>>
>> fails with the error
>> The key 'othermodule/c' is unknown and is being ignored.
>>
>> So I guess \keys_set:nn are not meant to be nested. Is there an easy
>> way to work around this (other than replacing \keys_set:nn{...}{...}
>> by "Hello") ?
>>
>
> Hello Rémy,
>
> That would be a bug, and would be my fault I guess. Give me a couple of
> days and I should sort this out: I'll need to do some thinking.

Right, I have this fixed now. I want to do a bit on the testing side, 
then expect to send an update to CTAN later today.
--
Joseph Wright