I know the question here has been answered, but as I like the idea of an overview slide I tried to make things a bit simpler.
What I came up with is a tiny package:
\NeedsTeXFormat{LaTeX2e}\ProvidesPackage{display}\IfFileExists{\jobname.pdf}{%\immediate\write18{cp \jobname.pdf \jobname-display.pdf}}{}\RequirePackage{tikz}% the slide overview will be appended at the very end of the talk\AtEndDocument{\slidedisplay}\newcounter{display@lastpage}% macro to insert the slide overview\newcommand{\slidedisplay}{%\begin{frame}[allowframebreaks,plain,bg=black]{Slide Display} \centering \hypertarget{slidedisplay}{}\IfFileExists{\jobname-display.pdf}{% \setlength{\baselineskip}{60pt}% \setlength{\fboxsep}{0pt}% \pdfximage{\jobname-display.pdf}% \pgfmathsetcounter{display@lastpage}{% min(\the\count0 - 1,\the\pdflastximagepages)} \foreach \i in {1,...,\thedisplay@lastpage}{% \,\hyperlink{page.\i}{% \fbox{\includegraphics[scale=0.2,page=\i]{\jobname-display.pdf}}}\,% \linebreak[0]% }%}{% Recompile document \\ (and don't forget `\texttt{--shell-escape}')}%\end{frame}%}
This approach uses the shell command cp
to copy the compiled PDF file. I therefore have doubts that it will work out-of-the-box under Windows.
As already noted in the other answers the PDF file that is to be included has to be copied before it is modified. Thus the above package must be loaded before the beamer
document class.
An example:
\RequirePackage{display}\documentclass{beamer}\title{Title of the Presentation}\author{Author Name}\date{Somewhere, \today}\begin{document}\begin{frame}[plain,t] \titlepage\end{frame}\foreach \i in {1,...,15}{%\begin{frame}{Frame \insertframenumber} \centering \scalebox{10.0}{% \color{blue!60!black!60!white}\bfseries \insertframenumber% } \hyperlink{slidedisplay}{Go to Slide Display}\end{frame}}\appendix\end{document}
Compiled twice and with the --shell-escape
flag (--enable-write18
for MikTeX I think) results in the following presentation:
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
The thumbnails are hyperlinked with the corresponding pages. The slide display itself can be referred to using the slidedisplay
anchor.