Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Mar 2008 22:32:16 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id m27LWDbd000617 for ; Fri, 7 Mar 2008 22:32:14 +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 m27LSlNq008011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Mar 2008 22:28:47 +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 m27G09Fa016170; Fri, 7 Mar 2008 22:28:42 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 220973 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 7 Mar 2008 22:28:42 +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 m27LSgFh029634 for ; Fri, 7 Mar 2008 22:28:42 +0100 Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id m27LSSl9007417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 7 Mar 2008 22:28:33 +0100 Received: from mail-in-17-z2.arcor-online.net (mail-in-17-z2.arcor-online.net [151.189.8.34]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 37C0E2CB04C for ; Fri, 7 Mar 2008 22:28:27 +0100 (CET) Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mail-in-17-z2.arcor-online.net (Postfix) with ESMTP id 2767945C041 for ; Fri, 7 Mar 2008 22:28:27 +0100 (CET) Received: from lola.goethe.zz (dslb-084-061-103-190.pools.arcor-ip.net [84.61.103.190]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 063263425E1 for ; Fri, 7 Mar 2008 22:28:26 +0100 (CET) Received: by lola.goethe.zz (Postfix, from userid 1002) id BE9831C5682B; Fri, 7 Mar 2008 22:28:27 +0100 (CET) References: <85wsoeto1k.fsf@lola.goethe.zz> <18385.42387.268037.81145@morse.mittelbach-online.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.92.1/6166/Fri Mar 7 17:36:07 2008 on mail-in-03.arcor-online.net X-Virus-Status: Clean Message-ID: <85skz2rzpg.fsf@lola.goethe.zz> Date: Fri, 7 Mar 2008 22:28:27 +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: <18385.42387.268037.81145@morse.mittelbach-online.de> (Frank Mittelbach's message of "Fri, 7 Mar 2008 21:29:07 +0100") Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.464 () BAYES_00,FORGED_RCVD_HELO X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 07 Mar 2008 21:32:16.0650 (UTC) FILETIME=[B72C1EA0:01C8809A] Status: R X-Status: X-Keywords: X-UID: 5176 Frank Mittelbach writes: > David Kastrup writes: > > > What is your take? I find it clearly unsatisfactory to have LaTeX > > eat up save stack for newly defined labels like that at the end of > > the document. > > well, you seem to be the first person getting into trouble with this, I doubt it. From ltxref.dtx: % The internal form of |\newlabel| and |\bibcite|. Note that this % macro does it's work inside a group. That way the local % assignments it needs to do don't clutter the save stack. This % prevents large documents with many labels to run out of save % stack. % \changes{v1.1h}{1995/10/24}{Switch for multiplelabels replaced by % inline code} % \changes{v1.1k}{2001/02/16}{Added an extra grouplevel (PR3250), jlb} % \begin{macrocode} \def\@newl@bel#1#2#3{{% \@ifundefined{#1@#2}% \relax {\gdef \@multiplelabels {% \@latex@warning@no@line{There were multiply-defined labels}}% \@latex@warning@no@line{Label `#2' multiply defined}}% \global\@namedef{#1@#2}{#3}}} % \end{macrocode} So obviously somebody ran into this problem before. But only half of it got fixed. > but that doesn't mean one shouldn't fix it. > I don't really mind either of the three solutions (provided none of the kills > the regression tests for 2e) but personally I would simply drop the group > unless somebody can give me a good reason why it could be needed in a certain > situation. For restoring \@newl@bel's definition afterwards. Don't ask me why it could be needed. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum