Date:
Thu, 11 Nov 2010 10:01:51 +0100
MIME-Version:
1.0
Content-Transfer-Encoding:
8bit
Content-Type:
text/plain; charset=UTF-8
|
On 2010/11/10 Rémy Oudompheng <[log in to unmask]> wrote:
> Hello everybody,
>
> I am interested in Unicode-capable TeX engines, and as such felt
> that after fontspec and unicode-math, polyglossia would deserve
> a rewrite for expl3. polyglossia currently uses etoolbox to
> provide features much similar to what is offered by the LaTeX3
> packages, notably a lot of keyval-like features. I found benefits
> in the nice syntax offered by l3keys, and the \prg_case_str
> function for example.
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") ?
--
Rémy.
|
|
|