I have started writing a beamer, and up until now everything was going fine (I only had 1 section with no subsection). Of course, I got to the point where I wanted to add another section, but with several subsections inside it.
I have declared
\AtBeginSection{
\begin{frame}
\frametitle{Summary}
\tableofcontents[currentsection, hideothersubsections, pausesubsections]
\end{frame}
}
before I started the \begin{document}
directive.
So I only had 1 generated slide for the first section, before I added the other section. Which is what I expected to have.
Things got messed up somehow when I added the second section, and the few subsections inside it (3 at the moment). For some reason, it now generates the first section slide 3 times... The other section is correctly paused at each subsection, but it's annoying that the first section "pauses" 3 times too...
Here is a preview of the complete code:
\documentclass[11pt]{beamer}
\AtBeginSection{
\begin{frame}
\frametitle{Summary}
\tableofcontents[currentsection, hideothersubsections, pausesubsections]
\end{frame}
}
\begin{document}
\section{Section 1}
\begin{frame}
\end{frame}
\begin{frame}
\end{frame}
\begin{frame}
\end{frame}
\begin{frame}
\end{frame}
\begin{frame}
\end{frame}
\begin{frame}
\end{frame}
\begin{frame}
\end{frame}
\begin{frame}
\end{frame}
\section{Work Environment}
\subsection{The team}
\begin{frame}
\end{frame}
\subsection{Learning stuff}
\begin{frame}
\end{frame}
\subsection{Tools to work with}
\begin{frame}
\end{frame}
\end{document}
I have tried to flush auxiliary files and re-compiling several times, making sure everything is correctly written etc... to no avail yet.
Any hindsights of what is going on ?
\documentclass{...}
and ending with\end{document}
. A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it).draft
option is related tographicx
.