Missing last frame of an animation
Given the presentation created with:
\documentclass{beamer}
\usepackage{tikz}
\begin{document}
\setbeamertemplate{background}{%
\begin{tikzpicture}[help lines, red]
\draw (5pt,5pt) rectangle (\paperwidth-5pt,\paperheight-5pt);
\foreach \x in {0,\paperwidth-5pt}
\foreach \y in {0,\paperheight-5pt}
\fill (\x,\y) rectangle +(5pt,5pt);
\end{tikzpicture}
}
\begin{frame}
% empty
\end{frame}
\begin{frame}
\transpush
This frame should be pushed from left to right
\end{frame}
\begin{frame}
\transpush[direction=90]
This frame should be pushed from bottom to top
\end{frame}
\begin{frame}
\transpush[direction=180]
This frame should be pushed from right to left
\end{frame}
\begin{frame}
\transpush[direction=270]
This frame should be pushed from top to bottom
\end{frame}
\begin{frame}
% empty
\end{frame}
\end{document}
The last frame of the “push” transition is not drawn. As a result, the slide is shifted.
Step to reproduce it:
- Compile the latex document (
latexmk -pdf
) - Open the document with Evince
- Press F5 to enter presentation mode
- Navigate through the document
For example, during the presentation, after pressing Space to go to the next slide, what you expect is:
However, what you get is:
because one frame is missing in the animation.