Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Mon, 10 Mar 2008 14:43:40 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id m2ADhdXP029896 for ; Mon, 10 Mar 2008 14:43:39 +0100 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 m2ADe5VO005209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Mar 2008 14:40:05 +0100 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 m29N1LrB016802; Mon, 10 Mar 2008 14:40:00 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 215151 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 10 Mar 2008 14:40:00 +0100 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 m2ADdxJo014124 for ; Mon, 10 Mar 2008 14:39:59 +0100 Received: from mail.quinscape.de (mail.quinscape.de [212.29.44.217]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id m2ADdmRm004532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 10 Mar 2008 14:39:53 +0100 Received: (qmail-ldap/ctrl 19986 invoked from network); 10 Mar 2008 13:39:48 -0000 Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 10 Mar 2008 13:39:47 -0000 Received: by lola.quinscape.zz (Postfix, from userid 1001) id D40C38FABA; Mon, 10 Mar 2008 14:39:47 +0100 (CET) References: <18385.42387.268037.81145@morse.mittelbach-online.de> <85wsoeto1k.fsf@lola.goethe.zz> <18385.42387.268037.81145@morse.mittelbach-online.de> <5.1.0.14.0.20080310115827.01e05a70@pop3.web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-AntiVirus: checked by AntiVir MailGate (version: 2.1.3-2; AVE: 7.6.0.73; VDF: 7.0.3.9; host: quinx) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id m2ADdxJo014125 Message-ID: <868x0qk89o.fsf@lola.quinscape.zz> Date: Mon, 10 Mar 2008 14:39:47 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: David Kastrup Subject: Re: A really, really bad bug. To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <5.1.0.14.0.20080310115827.01e05a70@pop3.web.de> ("Uwe =?iso-8859-1?Q?L=FCck=22's?= message of "Mon, 10 Mar 2008 12:19:12 +0100") Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.599 () BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 10 Mar 2008 13:43:41.0125 (UTC) FILETIME=[C040B750:01C882B4] Status: R X-Status: X-Keywords: X-UID: 5185 Uwe Lück writes: > At 21:44 07.03.08, you wrote: >>Frank Mittelbach writes: >> >> > well, you seem to be the first person getting into trouble with this, >> > but that doesn't mean one shouldn't fix it. >> >>5000 labels is easy to reach if you are using the label mechanism >>extensively. > > This is real life with critical editions in the "classical" style > where footnotes don't refer by footnote marks but by line numbers. > ednotes.sty originally used three labels for one footnote > and broke with, say, 400 pages. Well, the problem was the number > of strings already, but you see that so many labels are what > some people really need. I changed the label-testing to use only > one label per note, but it is not very stable. Think of a volume of > 500 pages (I am working at something like that) and that ten notes > per page are not unusual ... I have added a patch to my local version of perpage.sty. I think I should be able to upload it to the CVS today (and send a copy to this list) once I have conditionalized the patch in order to make sure that it is only applied when \@testdef leaves a permanent \relax record. This conditionalization means that it would be a good idea to solve this bug in LaTeX via the additional grouping that is already used when creating the label (so that the patch will then get deactivated). Since this is already done in the \@newl@bel (sp?) code, too, I think this is the most consistent way of addressing the problem. I'd fix this in the LaTeX source myself too, but as I said: it will break Babel (which explicitly _checks_ for the old definition), and I have not heard any proposal how we can propagate the fix there. And I would really want to avoid using \AtBeginDocument in the kernel for delaying the change of definition until after Babel is loaded. -- David Kastrup