I am using for my lecture a one-content solution with two main files of documentclasses beamer/scrbook+beamerarticle. Now I want to make use of the command \includeonlylecture but it seems to not work. Here a minimal example:
\documentclass{scrbook}
\usepackage{beamerarticle}
\includeonlylecture{v2}
\begin{document}
\lecture{V1}{v1}
\begin{frame}
\frametitle{Heading V1}
\end{frame}
\lecture{V2}{v2}
\begin{frame}
\frametitle{Heading V2}
\end{frame}
\end{document}
The output still is

\includeonlyin article mode. – samcarter_is_at_topanswers.xyz Sep 24 '22 at 18:50\includeand the\mode-commands? That is why I use\inputinstead... – Arne Sep 24 '22 at 18:52\mode<article>{...}– samcarter_is_at_topanswers.xyz Sep 24 '22 at 19:22beamerarticleis ignoringincludeonlylecture, correct? Well I can then of course switch completely toincludeonlyon both levels... – Arne Sep 25 '22 at 11:44\includeonlyin article mode and\includeonlylecturein beamer mode – samcarter_is_at_topanswers.xyz Sep 25 '22 at 11:50