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

The framenumber counter isn't necessarily equal to the output frame number

Open lorenzhs opened this issue 6 years ago • 5 comments

For example, our corporate template starts with framenumber 0 for the title page. I don't know if it's possible to figure this out automatically, but being able to pass a known offset as a package option would be good.

As a workaround, I inserted the following line before the definition of pnote, and replaced theframenumber with pdfpcframenumber:

\newcommand{\pdfpcframenumber}{\the\numexpr\value{framenumber}+1\relax}

That is completely unportable, of course, but could just as well be applied with an offset that defaults to 0.

lorenzhs avatar Mar 29 '18 12:03 lorenzhs

For example, our corporate template starts with framenumber 0 for the title page.

could you explain why this is the case?

cebe avatar Apr 05 '18 09:04 cebe

I think the idea is that the first content slide is slide 1 and the title doesn't have a visible frame number. But this applies equally to all other crazy things people might do with the framenumber counter.

lorenzhs avatar Apr 05 '18 11:04 lorenzhs

Uhm, more generally, isn't framenumber the wrong counter when using overlays, or is this another peculiarity in our corporate template?

lorenzhs avatar Apr 10 '18 20:04 lorenzhs

well, current implementation is working well with overlays when using plain beamer package without adjustments, so I assume it is correct. The expected behavior is to have notes per frame and not per overlay.

cebe avatar Apr 10 '18 20:04 cebe

Yeah I agree that makes sense, it's probably our template that's broken. Switching to the page counter fixes it though :man_shrugging: - Thanks.

lorenzhs avatar Apr 11 '18 08:04 lorenzhs