pdfpc-latex-notes
pdfpc-latex-notes copied to clipboard
PNote Does not Work Together with onlyenv
When I try to add an onlyenv-Stuff for 3 slides in one frame, the following notes are two slides too early:
\documentclass[hyperref={pdfpagelabels=false}]{beamer}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{pdfpcnotes}
\begin{document}
\begin{frame}{}
My Title Slide
\pnote{Say that this is this title slide!}
\end{frame}
\begin{frame}<1-3>
\begin{onlyenv}<1-3>
\begin{center}
This is a slide
\end{center}
\end{onlyenv}
\pnote{Say that this are three times the same slide}
\end{frame}
\begin{frame}[fragile]
Here comes the wrong positioning
\pnote{This note is displayed wrong}
\end{frame}
\end{document}
The note "This note is displayed wrong" is displayed on slide 3, i.e. on the second slide of frame 2, instead of slide 5, i.e. first and only slide of frame 3. Is there a workaround for this?
I debugged this a little bit, and found that the error is in \documentclass[hyperref={pdfpagelabels=false}]{beamer}
: If I instead write \documentclass{beamer}
, it works. Since I do not remember why I added this parameter, for which use case the interaction with pdfpc does not work, or if there is a use case for this parameter at all.
could be related to #21 using a different page counter may help to fix this.