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