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 o7FL5CrN003732 for ; Sun, 15 Aug 2010 23:05:13 +0200 Received: (qmail 27591 invoked by alias); 15 Aug 2010 21:05:07 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 15 Aug 2010 21:05:06 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx054) with SMTP; 15 Aug 2010 23:05:06 +0200 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 o7FL2HNi011693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 15 Aug 2010 23:02:18 +0200 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 o7EM14UF031226; Sun, 15 Aug 2010 23:02:16 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 450441 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 15 Aug 2010 23:02:16 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id o7FL2GNj007158 for ; Sun, 15 Aug 2010 23:02:16 +0200 Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o7FL1sFA031936 for ; Sun, 15 Aug 2010 23:01:58 +0200 Received: from cremornelane.demon.co.uk ([80.177.25.195] helo=palladium.local) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1OkkLF-0005Ma-kj; Sun, 15 Aug 2010 21:02:05 +0000 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 References: <4C685185.1020403@gmx.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <4C6855CC.4050003@morningstar2.co.uk> Date: Sun, 15 Aug 2010 22:02:04 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: keyval options for \usepackage To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4C685185.1020403@gmx.de> 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: 6359 On 15/08/2010 21:43, Arno Trautmann wrote: > Hi all, > > is there a possibility to use package options, i.e. > > \usepackage[figure]{mypackage} > > via expl3? I didn’t find anything in l3keys – do I have to use xkeyval > for package option processing? > > cheers > Arno > Hello Arno, This is what l3keys2e is for: l3keys does the 'LaTeX3' side, l3keys2e does the 'LaTeX2e interface' part. You want \RequirePackage{l3keys2e} \ProcessKeysOptions{} or \RequirePackage{l3keys2e} \ProcessKeysPackageOptions{} depending on whether global options should be parsed. -- Joseph Wright