LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
David Kastrup <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Tue, 11 Mar 2008 01:55:55 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
William F Hammond <[log in to unmask]> writes:

>>>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.
>
> A LaTeX translation of the largest of the four religious texts
> (English language) in Jon Bosak's 1998 XML demos might reasonably have
> at least 24000 labels.
> See  http://www.ibiblio.org/bosak/
>      http://metalab.unc.edu/bosak/xml/eg/rel200.zip

Here is the conditional fix that I am placing in perpage.sty.  It is not
all too pretty, but I think it should do the trick as long as LaTeX is
not fixed, and do nothing once this happens.

\begingroup
\@testdef{}{undefined}{}
\expandafter\endgroup
\ifx\@undefined\relax
\AtBeginDocument{%
  \let\pp@@testdef\@testdef
  \def\@testdef#1#2#3{{\pp@@testdef{#1}{#2}{#3}%
    \if@tempswa\aftergroup\@tempswatrue\fi}}}
\fi

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

ATOM RSS1 RSS2