Skip to content
Snippets Groups Projects
Commit 00d4e709 authored by Michael Eischer's avatar Michael Eischer
Browse files

Fix pdfpc notes appearing one slide too early

Beamer start with slide number 0 for the title page, whereas pdfpc
starts counting from 1.
parent 54db61db
No related tags found
No related merge requests found
...@@ -92,7 +92,11 @@ ...@@ -92,7 +92,11 @@
\let\lastframenumber\theframenumber \let\lastframenumber\theframenumber
\begingroup \begingroup
\let\#\hashchar \let\#\hashchar
\immediate\write\pdfpcnotesfile{\#\#\# \theframenumber}% % pdfpc counts the title page as slide 1
% thus all note numbers are off by one
\newcount\pdfpcframenumber
\pdfpcframenumber=\numexpr\theframenumber + 1\relax
\immediate\write\pdfpcnotesfile{\#\#\# \the\pdfpcframenumber}%
\endgroup \endgroup
\fi \fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment