LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Rémy Oudompheng <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Thu, 11 Nov 2010 10:01:51 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
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.

ATOM RSS1 RSS2