pdfpc-latex-notes icon indicating copy to clipboard operation
pdfpc-latex-notes copied to clipboard

PNote Does not Work Together with onlyenv

Open DaGeRe opened this issue 6 years ago • 2 comments

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?

DaGeRe avatar Apr 12 '18 09:04 DaGeRe

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.

DaGeRe avatar Apr 12 '18 11:04 DaGeRe

could be related to #21 using a different page counter may help to fix this.

cebe avatar Apr 23 '18 07:04 cebe