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 o8I7woV9005771 for ; Sat, 18 Sep 2010 09:58:52 +0200 Received: (qmail 7725 invoked by alias); 18 Sep 2010 07:58:45 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 18 Sep 2010 07:58:45 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx092) with SMTP; 18 Sep 2010 09:58:45 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o8I7vRfB030013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Sep 2010 09:57:28 +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 o8HN2dWr020290; Sat, 18 Sep 2010 09:57:11 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 438443 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 18 Sep 2010 09:57:11 +0200 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 o8I7vBUu032131 for ; Sat, 18 Sep 2010 09:57:11 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o8I7ubY6006149 for ; Sat, 18 Sep 2010 09:56:40 +0200 Received: from morse.mittelbach-online.de (p3EE3F804.dip.t-dialin.net [62.227.248.4]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Me7T8-1PBeWK3HPa-00PPaf; Sat, 18 Sep 2010 09:57:07 +0200 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id 0C54473C54; Sat, 18 Sep 2010 09:57:04 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4C93A430.1020103@morningstar2.co.uk> <20100917180303.GA7348@oberdiek.my-fqdn.de> <19603.49961.484432.456512@morse.mittelbach-online.de> <4C93DCDA.3010707@morningstar2.co.uk> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V02:K0:kIEPo0JDBCsJM9v3DpTfsMC63Bkix86Q361rOW4Dof2 N2JVu4ur5dgRN+BAbzdkrZNCYXyDlwRlkfWFqlnf9NgJL2gWvr JnYtTX8vNYcm9T1q/ruS6hMUCM86dTASYOZ66gESkHxkNQM2El YccSbmqXbm3YXXA/2/SdiItQLgElVrcHLHN6cENykMmMPoOgii qj81QJtxgwmrpXZCiFDzw== X-Spam-Whitelist-Provider: Message-ID: <19604.28880.24959.737588@morse.mittelbach-online.de> Date: Sat, 18 Sep 2010 09:57:04 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: Option parsing bug or 'feature'? To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4C93DCDA.3010707@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe+OynZRhvlGqb5A0X bbiCt2rAnnct/NAlbHMvoAL6GY+23tB3khNK7Y6oT1sPizBjJUAOds0oJBO/5TIz9C5741aj9GOJ bE70Q==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: 6404 Joseph Wright writes: > On 17/09/2010 20:36, Frank Mittelbach wrote: > > since you already looked at the different implementations, any suggestion on > > how to best improve the LaTeX2e behaviour? > > I take it that this does possibly count as a bug then, rather than as a > 'feature'? it doesn't count as a bug I would say, for the simple reason that per specification the optional argument of \usepackage doesn't support a key value list but just a list of option names (that themselves have no spaces) separated by comma. Only later packages appeared that internally added something like keyval and manipulated the received option list from \usepackage as a key/val list, but that happens after \usepackage has already removed spaces and unfortunately in this case also the braces. pragmatic approach: you state that one needs to say ={,} to make things work as this is a fairly seldom issue more elaborate approach change \@pass@ptions so that it only removes spaces up front, around a comma and at the end problem with the latter is that the current definition of \@pass@ptions is at the core of what LaTeX does, ie it is used by every package and any change in its behaviour might result in unexpected changes somewhere. so at the moement I'm a bit reluctant to make a change on the 2e-level for the sake of of one very specific case unless it is fairly minimal and appears to be "save". But I'm open to suggestions which is why I asked frank