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 o9462eQu005375 for ; Mon, 4 Oct 2010 08:02:41 +0200 Received: (qmail 23792 invoked by alias); 4 Oct 2010 06:02:35 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 04 Oct 2010 06:02:34 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx053) with SMTP; 04 Oct 2010 08:02:34 +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 o9460Oqk032713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Oct 2010 08:00:25 +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 o93M1Bp2003506; Mon, 4 Oct 2010 08:00:51 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 452894 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 4 Oct 2010 08:00:51 +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 o9460paK002538 for ; Mon, 4 Oct 2010 08:00:51 +0200 Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o945xvw7032184 for ; Mon, 4 Oct 2010 08:00:01 +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 1P2e6A-00012p-jG; Mon, 04 Oct 2010 06:00:30 +0000 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 References: <89FC465D-657F-4B46-A4FF-B9A79D204FDD@yahoo.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <4CA96D7D.8010409@morningstar2.co.uk> Date: Mon, 4 Oct 2010 07:00:29 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Bug in l3keys.dtx To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <89FC465D-657F-4B46-A4FF-B9A79D204FDD@yahoo.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/Sb97LojnDtMgfETrECMLUO9erHzOJe+OynZRhvlGqb5A0X bbiCt2rAnnct/NAlbHMvoAL6GY+23tB3khNK7aqcuJkHrktl7heUBBMuxWDU8MR6sgnaA+ruWxex YrTyw==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: 6455 On 02/10/2010 22:17, Philipp Stephani wrote: > Hello, > > chapter XXI, section 93 of the manual says about \keys_bool_set:NN: > > "Creates code to set ⟨bool⟩ when ⟨key⟩ is given, with setting using ⟨scope⟩ (l or g for local > or global, respectively). ⟨bool⟩ should be a LATEX3 boolean variable." > > First of all, I think the scope description is incorrect since the scope is simply used to construct control sequences like \bool_set... and \bool_gset..., but there is not \bool_lset... > The second argument of \keys_bool_set:NN should thus be empty if the assignment is to be local, in which case the argument specifier should be "n", not "N". > > Then line 1320 of l3keys.dtx has > > \keys_property_new_arg:nn { .bool_gset:N } { > \keys_bool_set:NN #1 n > } > > Note the scope "n" instead of "g" (or rather "{g}"), which leads to an error ("Missing \begin{document}"). > My copy of l3keys.dtx has different text in some of these places, but I'll check and sort this out properly for the next snapshot. -- Joseph Wright