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 o8F5O7Hf005803 for ; Wed, 15 Sep 2010 07:24:08 +0200 Received: (qmail 6622 invoked by alias); 15 Sep 2010 05:24:02 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 15 Sep 2010 05:24:02 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx026) with SMTP; 15 Sep 2010 07:24:02 +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 o8F5LGpc006261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Sep 2010 07:21:16 +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 o8EM14KM024841; Wed, 15 Sep 2010 07:21:38 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 436330 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 15 Sep 2010 07:21:38 +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 o8F5LcdK024536 for ; Wed, 15 Sep 2010 07:21:38 +0200 Received: from lon1-post-1.mail.demon.net (lon1-post-1.mail.demon.net [195.173.77.148]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o8F5Kwl8006088 for ; Wed, 15 Sep 2010 07:21:01 +0200 Received: from morningstar2.demon.co.uk ([80.176.134.7] helo=palladium.local) by lon1-post-1.mail.demon.net with esmtp (Exim 4.69) id 1OvkQx-0000mw-YR for latex-l@LISTSERV.UNI-HEIDELBERG.DE; Wed, 15 Sep 2010 05:21:27 +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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4C9057D8.4090705@morningstar2.co.uk> Date: Wed, 15 Sep 2010 06:21:28 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Allocation of registers To: LATEX-L@listserv.uni-heidelberg.de Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4WX0t+AtsdW2ORvUlAfcdSIdQlIL3FTSFQDxQiodii41fjuqHQd8jenp0+N dNY0CcAB8WAv7r3OtvsaDOOiC4T8TWFW3c0h9kbMpE0/ou/MWvK8X//VR9J5RqCotAZER8h4O06e mC19Q==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: 6369 Hello all, Consider the following example \documentclass{article} \usepackage{expl3} \ExplSyntaxOn \prg_replicate:nn{300}{ \cs_undefine:N \temp \int_new:N \temp } \ExplSyntaxOff \newinsert\myinsert \begin{document} \end{document} This will give an error even though expl3 loads etex for allocation to the extended pool. Inserts to have a set of registers available with the same numbers, and these need to be in the standard pool. The issue isn't unique to expl3, and doesn't show up unless you add quite a lot more register use on top of it. However, it is there. For expl3 I wonder about using the extended pool from the word go \let\int_new:N\globcount \let\dim_new:N\globdimen ... which will make it much less likely to happen. However, even then the issue would remain for non-expl3 packages which expect etex to deal with the register limitations of LaTeX2e. How do people see this in general. One obvious approach would be to alter \newcount, etc., so that when etex is loaded everything uses the extended pool except for inserts. However, that might be overkill! -- Joseph Wright