This question already has an answer here:

I'm using beamer to create a presentation, and want to use the mode "show notes on second screen". Unfortunately, there seems to be a bug: when I turn it on, the page numbers are shifted one page up, so page 1 becomes 2, 2 becomes 3, and so on, with the last page number being repeated. With overlays, the numbers also shits one position, so the previous page of the overlay, and the last one has incorrect number.

I attach a minimum sample file: just check the PDF page numbers. By commenting the line \setbeameroption{show notes on second screen=left}, the numbers work fine; when adding it, the numbering fails.




\setbeameroption{show notes on second screen=left}


First frame (should be 1)

Second frame (should be 2)

Third frame (should be 3)\\

Also third frame (should also be 3)

Fourth frame (should be 4)


marked as duplicate by Joseph Wright Aug 4 '13 at 9:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Hi i don´t understand your Problem. Frame number one has logical number 1 aso. For paused frames several pages are produced which (of course) have different pdf page numbers (they are different pages). – bloodworks Jul 8 '12 at 8:49
  • @bloodworks: well, if you compile that code, frame one will be numbered 2 in the PDF, which is part of the problem. And actually frames with \pause in Beamer generate PDF pages with the same page number, even if they are different pages. – njsg Jul 8 '12 at 8:58
  • @Sergio Costas: the problem seems to be pgfpages. At least the pgf manual refers the issue (page 515): "Another word of caution: using pgfpages will produce wrong page numbers in the .aux file.". Unfortunately, the fix they suggest doesn't work with your example. – njsg Jul 8 '12 at 9:00
  • @njsg i can´t confirm that sorry. When i run the above code i get properly numbered pdf pages. (pdflatex TL2011 and Preview (Mac OSX).) Except for that i wonder why this could be so important. Framenumbering will be all right anyway. – bloodworks Jul 8 '12 at 9:28
  • Question 71206 "What is going on with pgfpages and page labels?" is a duplicate of this question. I, however, found that question first and answered it. Should I replicate my answer here or is this comment sufficient? – Bastian Sauert Jun 9 '13 at 21:07

I know this is an old question, but I just ran into this problem myself and decided to do something about it. I wrote a little perl script to shift the page numbers up one and add a number 1 for page 1. This reverses the mangling done by pgfpages, at least for me.

You'll need to have perl installed and the CAM::PDF module from CPAN.

Download the program

Not the answer you're looking for? Browse other questions tagged or ask your own question.