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 o8GGoSpd021847 for ; Thu, 16 Sep 2010 18:50:30 +0200 Received: (qmail 11320 invoked by alias); 16 Sep 2010 16:50:24 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 16 Sep 2010 16:50:23 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx085) with SMTP; 16 Sep 2010 18:50:23 +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 o8GGmJOp023547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Sep 2010 18:48:19 +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 o8GE4QIP028362; Thu, 16 Sep 2010 18:48:32 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 498812 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 16 Sep 2010 18:48:32 +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 o8GGmWoJ013396 for ; Thu, 16 Sep 2010 18:48:32 +0200 Received: from ueamailgate02.uea.ac.uk (ueamailgate02.uea.ac.uk [139.222.131.185]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o8GGlv4q023228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 16 Sep 2010 18:48:03 +0200 Received: from ueams02.uea.ac.uk (ueams02.uea.ac.uk [139.222.131.131]) by ueamailgate02.uea.ac.uk (8.13.8/8.13.8) with ESMTP id o8GGmFJ7011505 for ; Thu, 16 Sep 2010 17:48:15 +0100 Received: from [139.222.203.227] by ueams02.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OwHd4-00063l-NI for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 16 Sep 2010 17:48:10 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 References: <19109.1284579373@cl.cam.ac.uk> <4C9122A1.4060008@morningstar2.co.uk> <4C91239B.2040301@morningstar2.co.uk> <4C912F95.70503@morningstar2.co.uk> <20100916030501.GA32514@oberdiek.my-fqdn.de> <20100916124216.GA1110@oberdiek.my-fqdn.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Bayes-Prob: 0.0018 (Score 0, tokens from: @@RPTN, outgoing) X-CanIt-Geo: ip=139.222.131.131; country=GB; region=I9; city=Norwich; latitude=52.6333; longitude=1.3000; http://maps.google.com/maps?q=52.6333,1.3000&z=6 X-CanItPRO-Stream: UEA:outgoing (inherits from UEA:default,base:default) X-Canit-Stats-ID: 58396557 - 284d47c372b7 - 20100916 X-Scanned-By: CanIt (www . roaringpenguin . com) on 139.222.131.185 Message-ID: <4C924A4F.30700@morningstar2.co.uk> Date: Thu, 16 Sep 2010 17:48:15 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: e-TeX low-level expertise needed Re: Allocation of registers To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <20100916124216.GA1110@oberdiek.my-fqdn.de> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4U4jfdfC5HDevlx1X2sAZg1MkugZcpwIdDb8z5l6KEaP+LdZ7QLw+5CKzyp k5HTLZ1v8wPRqFdQdQapWq9qz59Rr52fCiljKsM85i3sbXAJVBjnzZkoSL42zBmmwDa5vja6zT3o 7boow==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: 6393 On 16/09/2010 13:42, Heiko Oberdiek wrote: > \outer\def \reserveinserts#1{% > \begingroup > \@tempcnta=\numexpr#1\relax > \ifnum\@tempcnta<\z@ > \PackageWarning{etex}{% > Negative number (\the\@tempcnta) for % > \@backslashchar reserveinserts,\MessageBreak > assuming 0% > }% > \@tempcnta=\z@ > \fi > \count@\count10 % count > \ifnum\count11>\count@ \count@\count11 \fi % dimen > \ifnum\count12>\count@ \count@\count12 \fi % skip > \ifnum\count14>\count@ \count@\count14 \fi % box > \count@=\numexpr\et@xins-\count@\relax > \PackageInfo{etex}{% > Maximum for \@backslashchar reserveinserts is \the\count@ > }% > \ifnum\@tempcnta>\count@ > \PackageError{etex}{% > \the\@tempcnta\space insertion register% > \ifnum\@tempcnta=\@ne \space is \else s are \fi > requested,\MessageBreak > \ifnum\count@<\@ne > but no more registers can be reserved% > \else > but only \the\count@\space register% > \ifnum\count@=\@ne\else s\fi\space can be reserved% > \fi > }\@ehc > \@tempcnta=\count@ > \fi > \global\insc@unt\numexpr\et@xins-\@tempcnta\relax > \endgroup > } As Chris says, this seems more sensible than the current definition as it gives meaningful messages when it's not possible to reserve the space requested. Now, who's actually in charge of etex.sty? -- Joseph Wright