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
......@@ -92,7 +92,11 @@
\let\lastframenumber\theframenumber
\begingroup
\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
\fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment