Using tikz/matrix inside beamer, I have several slides with a wrong page/frame count.
Why is that so, and how can I avoid it?
MWE:
\documentclass[14pt]{beamer}
\usepackage{tikz}
\usetikzlibrary{matrix}
\setbeamertemplate{footline}{\insertframenumber/\inserttotalframenumber}
\begin{document}
\begin{frame}[fragile]
\frametitle{Bar}
\begin{tikzpicture}
\matrix (m) [matrix of math nodes]
{42&42\\23&23\\};
\end{tikzpicture}
\end{frame}
\end{document}
This gives me a frame number of 2/2 even though there is only one slide.
I use tikz/matrices to write (category theory-ish) diagrams with arrows because diagrams.sty didn't work in beamer, and then, I use [fragile] for the code to compile because of the &.
EDIT: I found a way to solve the problem, but I'm still interested in explications (and reproduction of the problem, as it seems not every one has this bug. I'm using TeTex and beamer-3.07, both from the FreeBSD ports, so maybe it's a compatibility bug or an old version issue…)
