\mode
<presentation>

\begin{frame}{An Example Article -- The produced TOC}
  \label{example:art:tex:toc}

  \begin{example}
    \lstinputlisting[style=beamer-example]{\skbfileroot{examples/example-toc}}
  \end{example}
\end{frame}

\mode
<article>

\resizebox{\textwidth}{!}{\includeslide{example:art:tex:toc}}
\bigskip

\mode
<all>
