Philipp Schlicht wrote:
Hi,
there is a problem with the thm counter in Lyx version 1.5.2 that wasn't there in 1.5.1.
I get the LaTeX Error: No counter 'thm' defined, but I can compile no problem if I add an extra theorem in the beginning.
The problem might be that I have a Fact before the first Theorem but the counter 'thm' is only defined after the first theorem (or lemma etc?).
Is there a way to fix this?
Thanks in advance,
Philipp
Known error in the AMS definitions (my fault, I think). It's fixed in
1.5.3. Meanwhile, you can download a patched copy of the AMS layout
files from http://wiki.lyx.org/Layouts/AMS.
Sorry.
/Paul