\mode
<presentation>

\begin{frame}{Separate Content from Structure}
  \label{separate:cs}

  \begin{example}
    \skbinput[from=fig]{dirtree/repository}
  \end{example}


\end{frame}




\mode
<article>

\resizebox{\textwidth}{!}{\includeslide{separate:cs}}
\bigskip

\skbinput[from=rep]{separate/separate-cs}

\clearpage

\mode
<all>