[texhax] [solved] Re: No room for new \count

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sun Aug 22 06:55:56 CEST 2010


On Sat, Aug 21, 2010 at 09:18:11PM -0700, Brandon Kuczenski wrote:

> I lied.  I was using \newcount inside a macro.  I solved the problem
> with the following trick:
> 
> \let\oldnewcount\newcount
> \def\newcount{\typeout{new count!}\oldnewcount}

Even more simple would have been a look into the .log file.
Each \newcount writes a line, e.g. \newcount\foobar generates:
  \foobar=\count79

Yours sincerely
  Heiko Oberdiek


More information about the texhax mailing list