I'm trying to create a poster presentation using beamerposter, and it refuses to compile when I insert my pgfplots plot. I get the following error message
! TeX capacity exceeded, sorry [input stack size=5000].
\end #1->\csname end#1
\endcsname \@checkend {#1}\expandafter \endgroup \if@e...
l.18 \end{frame}
when I try to compile this code:
\documentclass{beamer}
\usepackage{beamerposter}
\usepackage{pgfplots}
\begin{document}
\begin{frame}
\begin{block}
\begin{tikzpicture}
\begin{axis}
\addplot coordinates {
(0, .28138392)
(1, -.6979761)
};
\end{axis}
\end{tikzpicture}
\end{block}
\end{frame}
\end{document}
However, this code, where I've just removed the beamerposter package, works fine:
\documentclass{beamer}
\usepackage{pgfplots}
\begin{document}
\begin{frame}
\begin{tikzpicture}
\begin{axis}
\addplot coordinates {
(0, .28138392)
(1, -.6979761)
};
\end{axis}
\end{tikzpicture}
\end{frame}
\end{document}
I'm running an up-to-date MikTex 2.9 on Windows 7.