Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id oAB949Jg007203 for ; Thu, 11 Nov 2010 10:04:10 +0100 Received: (qmail 19607 invoked by alias); 11 Nov 2010 09:04:04 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 11 Nov 2010 09:04:02 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx010) with SMTP; 11 Nov 2010 10:04:02 +0100 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 oAB91RMR007761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Nov 2010 10:01:27 +0100 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id oAB8XFAG025351; Thu, 11 Nov 2010 10:01:57 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 730470 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 11 Nov 2010 10:01:57 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id oAB91vnW029142 for ; Thu, 11 Nov 2010 10:01:57 +0100 Received: from mail-ww0-f47.google.com (mail-ww0-f47.google.com [74.125.82.47]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id oAB91EIt006969 for ; Thu, 11 Nov 2010 10:01:18 +0100 Received: by wwf26 with SMTP id 26so1803032wwf.28 for ; Thu, 11 Nov 2010 01:01:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.141.209 with SMTP id g59mr448162wej.10.1289466112073; Thu, 11 Nov 2010 01:01:52 -0800 (PST) Received: by 10.216.187.144 with HTTP; Thu, 11 Nov 2010 01:01:51 -0800 (PST) References: Content-Type: text/plain; charset=UTF-8 X-Spam-Whitelist: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id oAB91vnW029143 Message-ID: Date: Thu, 11 Nov 2010 10:01:51 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: =?UTF-8?Q?R=C3=A9my_Oudompheng?= Subject: Re: Rewriting polyglossia in LaTeX3 To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe7j3G660N4yBY6XHH YPYtmQj6mbYUTZ3LnaFANLWrKE7/wIDhnv+VrW0hxOapLRUwuY9oBqo5h+Dh9B42XlFTMTKlXDju GaV8Q==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6471 On 2010/11/10 Rémy Oudompheng 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.