# beamer's tableofcontents links to the wrong slide [duplicate]

I compiled the following code 3 times to get the table of contents. The problem is that section names links to wrong slides. A links to B1 and B links to B2. So, it's wrong by one slide. How can I fix it?


\documentclass{beamer}

\begin{document}

\frame{\tableofcontents}

\section{A}
\frame{A}

\section{B}
\frame{B1}
\frame{B2}

\end{document}

-

## marked as duplicate by Joseph Wright♦Oct 2 '13 at 20:37

'Works for me' with the current beamer release. I think \lisitfiles output would help here. – Joseph Wright May 15 '12 at 20:10
I got this 'beamer.cls 2011/09/12 development version 3.12 A class for typesetting presentations (rcs-revision 70f9d8411e54)' what version do u have? – futureneo May 15 '12 at 20:17
I have 3.19 [I'm one of the beamer maintainers :-)] – Joseph Wright May 15 '12 at 20:18
ok thx:) i will update it to 3.19 – futureneo May 15 '12 at 20:27
@StrawberryFieldsForever There is an open bug for beamer about this: it only shows up with some viewers, although it may be to do with something in beamer and how stuff is added to the PDF. – Joseph Wright Aug 21 '13 at 14:10

beamer.cls    2011/09/12 development version 3.20 A class for typesetting pre

MikTeX 2.9 with version 3.22 A works without any problems. – percusse Oct 1 '12 at 9:33
I use beamer.cls 2013/04/04 3.27 A class for typesetting presentations (rcs-revision dca7db0ccda1), and I still have the problem described in this question. I use MiKTeX 2.9. – StrawberryFieldsForever Aug 21 '13 at 14:01