Let \newtheorem declare the Pr@blem counter (old way seems to hang).
[problempack.git] / problempack.sty
index c7327837c5e1c24cd5d702cbc549512c38f64359..b08fcc729df3a87abc045e380979c342ae5672c1 100644 (file)
@@ -70,8 +70,9 @@
 }
 
 % define theorem environments
-\newcounter{Pr@blem}
-\newtheorem{Pr@blem}[Pr@blem]{Problem}
+%\newcounter{Pr@blem}
+%\newtheorem{Pr@blem}[Pr@blem]{Problem}
+\newtheorem{Pr@blem}{Problem}
 \newcommand{\Pr@blemSkip}{0pt} % set to 2\baselineskip when nosolutions, to give breathing room between problems
 \newenvironment{problem}{%
   \phantomsection%