overlay vs. counter

Markus Bodden <[email protected]>
Newsgroups gmane.comp.tex.latex.prosper.user
Message-ID <[email protected]>
Hello,

I have a problem creating some slides:
I want to use the overlay function, but then all counter values appear with 
zero. If I don't use the overlay function, the example works proper.
Can anybody help me?

Thanks,
Markus

===Begin expample===

\documentclass[pdf, slideColor]{prosper}
\usepackage[english]{babel}
\usepackage{amsmath}

\newtheorem{definition}{Definition}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[definition]{Lemma}
\newtheorem{example}[definition]{Example}
\newtheorem{corollary}[definition]{Corollary}
\newtheorem{remark}[definition]{Remark}


\begin{document}

\overlays{4}{%
\begin{slide}{1st slide}
	\begin{itemstep}
		\item 1st item
		\item 2nd item
		\item 3rd item
		\item 4th item
	\end{itemstep}
\end{slide}
}

\begin{slide}{2nd slide}
	\begin{alignat}{2}
	\sum_{k=1}^n&=1+2+\ldots+n\\
	&=\frac{n(n+1)}{2}
	\end{alignat}
\end{slide}

\begin{slide}{Burke's Theorem}
\begin{theorem}
1st theorem
\end{theorem}
\begin{remark}
1st remark
\end{remark}
\begin{remark}
2nd remark
\end{remark}
\end{slide}

\end{document}




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.