I am using beamerarticle and want to put a box around the content between frames and only when there is really content. Is that possible? I tried it with mdframes package quite symmetric to Framing \frame using mdframed with beamerarticle but did not succeed as I got errors on compilation.
\documentclass[a4paper,12pt]{article}
\usepackage{beamerarticle}
\usepackage{mdframed}
\mode<article>{
\setbeamertemplate{frame begin}{\end{mdframed}}
\setbeamertemplate{frame end}{\begin{mdframed}}
}
\begin{document}
\begin{frame}
\frametitle{testframe}
content for testframe
\end{frame}
lalala interframetext
\begin{frame}
\frametitle{testframe}
content for testframe
\end{frame}
\end{document}