I am trying to put together a beamer document put together using multiple sections where frame numbers restart at each section and I can leave certain frames at the beginning of the document and at the beginning of each section uncounted.
My master document looks like this:
\documentclass{beamer}
\mode<presentation>
{
\usetheme{default}
\usecolortheme{default}
\usefonttheme{default}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{footline}[frame number]
}
\AtBeginSection{\setcounter{framenumber}{0}}
\usepackage{hyperref}
\title[MATH]{Daily Notes}
\author{Me}
\institute{My College}
\date{\today}
\begin{document}
{
\setbeamertemplate{footline}{}
\begin{frame}[noframenumbering]
\titlepage
\end{frame}
}
{
\setbeamertemplate{footline}{}
\begin{frame}[noframenumbering]{Table of Contents}
\setcounter{tocdepth}{1}
\label{ToC}
\tableofcontents
\end{frame}
}
\input{Day_1.tex}
\input{Day_2.tex}
\end{document}
I use hyperref to create links in the table of contents. The two input files are comparable except in the number of frames and that seems to be the trouble. If Day_1.tex has 4 frames like so:
\section{The First}
\subsection{Housekeeping}
{
\setbeamertemplate{footline}{}
\begin{frame}[noframenumbering]{Announcements}
Hello world!
\end{frame}
}
\subsection{Content}
\begin{frame}
First slide
\end{frame}
\begin{frame}
Second slide
\end{frame}
\begin{frame}
Third slide
\end{frame}
\begin{frame}
Fourth slide
\end{frame}
and Day_2.tex is the same except having only 3 frames, then the numbering for Day_1 is given as 1/3, 2/3, 3/3, 4/3. If Day_1 has fewer frames than Day_2 (say 2 for Day_1 and 3 for Day_2), then Day_1's numbering is given as 1/3, 2/3.
How can I get the correct number of frames for each section in the frame numbering?
Argument of \addtocontents has an extra }. <inserted text> \par– Brian Jan 05 '16 at 22:53hyperrefby default. Can you check if the above code without modifications runs on your system? Or edit your question to show the code you tried? – samcarter_is_at_topanswers.xyz Jan 22 '16 at 19:59namerefbut stopped when I put your fix ahead of loading that package. Thank you so much for your patient help! – Brian Jan 26 '16 at 21:23