0

So I want to use memoir document class and the ntheorem package with the thmmarks option. When I try and compile a file like this, I get "no room for a new \count" errors. What can I do about this?

ntheorem with thmmarks option works fine in article, and ntheorem works alright in memoir as long as I don't try and use the thmmarks option...

To reformulate the question: Is there a way to, I don't know, cut out parts of the memoir class definitions that I don't use to free up some \counts for ntheorem thmmarks? Or is there a way to alter how many \counts LaTeX allows so that there are enough to share?

(I'm fully aware that insisting on using memoir for typesetting a theorem-heavy document is a little perverse, but what the heck.)

4