Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Counter too large

Skip to first unread message

Oliver Corff

unread,
Sep 30, 2011, 1:14:33 PM9/30/11
to
Dear All,

In my current huge text (>7700 footnotes) I finally solved
the footnote paragraph format problem (see recent post) by
using manyfoot.

I still did not solve the problem with multicols warning me
about misplaced footnotes. The documentation of multicol
simply suggests to insert a \newpage manually. Urgh.

Now the document compiles, but somewhere near the end I
get the message "Counter too large". Unfortunately, the
log file does not tell me _which_ counter is too large.

How can I identify this counter?

Thanks in advance,
Oliver.


--
Dr. Oliver Corff e-mail: co...@zedat.fu-berlin.de

Heiko Oberdiek

unread,
Sep 30, 2011, 1:36:50 PM9/30/11
to
Oliver Corff <co...@zedat.fu-berlin.de> wrote:

> Now the document compiles, but somewhere near the end I
> get the message "Counter too large". Unfortunately, the
> log file does not tell me _which_ counter is too large.

In the LaTeX kernel the error \@ctrerr is called in
\@alph, \@Alph, \@fnsymbol that are used to format
numbers (\alph, \Alph, \fnsymbol). These list of symbols
are quite short (26 symbols for \alph and \Alph, 10 for
\fnsymbol).

> How can I identify this counter?

Unhappily the low level formatting commands deal with
numbers only, thus the name of the counter is not available
to them.

\tracingmacros=1 writes the macro expansions into the
.log file that can be inspected. If TeX throws the error
message, exit with "x". Then find at the end of the .log file
the expansion of \@ctrerr. The counter can be identified
in the code before.

Package alphalph provides several ways to deal with
numbering with a limited set of symbols.

--
Heiko Oberdiek

Enrico Gregorio

unread,
Sep 30, 2011, 1:30:17 PM9/30/11
to
Oliver Corff <co...@zedat.fu-berlin.de> wrote:

> Dear All,
>
> In my current huge text (>7700 footnotes) I finally solved
> the footnote paragraph format problem (see recent post) by
> using manyfoot.
>
> I still did not solve the problem with multicols warning me
> about misplaced footnotes. The documentation of multicol
> simply suggests to insert a \newpage manually. Urgh.
>
> Now the document compiles, but somewhere near the end I
> get the message "Counter too large". Unfortunately, the
> log file does not tell me _which_ counter is too large.
>
> How can I identify this counter?

The candidates are the counters represented via \alph,
\Alph, or \fnsymbol, as it's quite difficult to overflow
\arabic, \roman or \Roman. :)

Ciao
Enrico

Oliver Corff

unread,
Sep 30, 2011, 1:38:22 PM9/30/11
to
Heiko Oberdiek <heiko.o...@googlemail.com> wrote:
: Oliver Corff <co...@zedat.fu-berlin.de> wrote:

: > Now the document compiles, but somewhere near the end I
: > get the message "Counter too large". Unfortunately, the
: > log file does not tell me _which_ counter is too large.

: In the LaTeX kernel the error \@ctrerr is called in
: \@alph, \@Alph, \@fnsymbol that are used to format
: numbers (\alph, \Alph, \fnsymbol). These list of symbols
: are quite short (26 symbols for \alph and \Alph, 10 for
: \fnsymbol).

Dear Enrico, dear Heiko,

Thank you very much for your helpful answers! I identified
the counter as an alpha footnote which I changed to roman
style and everything was ok.

Oliver.

: --
: Heiko Oberdiek
0 new messages