# How do I remove hyperlinks from \tableofcontents in beamer?

I am designing a presentation in beamer and would like to use \tableofcontents to generate an outline frame. However, by default, beamer includes hyperlinks on the section names in the table of contents. Here is a minimal example of this:

\documentclass{beamer}

\begin{document}

\begin{frame}
\tableofcontents
\end{frame}

\section{First}
\begin{frame}
\frametitle{Who's on first?}
\end{frame}

\section{Second}
\begin{frame}
\frametitle{What's on second?}
\end{frame}

\end{document}


I have found that it is much too easy to accidentally click on one of these hyperlinks while speaking and derail the presentation. Aside from manually writing a contents frame, how can I remove these hyperlinks?

-

You can use the environment NoHyper:

\documentclass{beamer}

\begin{document}

\begin{frame}
\begin{NoHyper}
\tableofcontents
\end{NoHyper}
\end{frame}

\section{First}
\begin{frame}
\frametitle{Who's on first?}
\end{frame}

\section{Second}
\begin{frame}
\frametitle{What's on second?}
\end{frame}

\end{document}

-
I think NoHyper should be included in the hyperref documentation. If you're interested in stopping the hyperlinking from some point onward, issue \makeatletter \stop@hyper \makeatother. –  Werner Sep 11 '11 at 15:40
@Werner: You can find the environment in the complete hyperref manual –  Marco Daniel Sep 11 '11 at 15:51
Ahhh, thanks for pointing out the difference between the two manuals. –  Werner Sep 11 '11 at 15:53
@Marco: That works great! Thanks. –  Henry DeYoung Sep 11 '11 at 15:57