Issue #256 open

# beamer/beamerarticle: mode specification for frame doesn't work as expected

u_fischer
created an issue

In the following example the \section comand (and its argument) is ignored as expected. But not all the content of the frame: The text and the first \tikz are not printed but the unknown color gives two errors (as do also unknown commands) and the graphics appears on the page (eso-pic is needed to get this effect). A \stepcounter{section} in the frame is executed too.

I also tested the other way round: A \begin{frame}<article> in a beamer document: This doesn't work either. Is this a bug? (There is no problem if I use explicit \mode commands.)

\documentclass{scrartcl}
\usepackage{beamerarticle}
\usepackage{tikz}
\usepackage{eso-pic}
\newcommand\framegraphic[1]%
{\AtPageCenter
{\includegraphics[width=5cm]{#1}%
}}}

\begin{document}
blabla

\section<presentation>{This section exists
\tikz\draw[color=unknowncolorA] (1,1)rectangle (0,0);
only in the presentation modes}

\begin{frame}<presentation>
some text
\tikz\draw[fill=red] (1,1)rectangle (0,0);
\tikz\draw[color=unknowncolorB] (1,1)rectangle (0,0);
\framegraphic{example-image-a}
\end{frame}

\end{document}


Ulrike Fischer