mtheme
mtheme copied to clipboard
includeonlylecture and subsectionpage are not compatible
If a part of the presentation that contains a subsectionpage is excluded by the use of includeonlylecture, LaTeX throws the following error:
! LaTeX Error: There's no line here to end.
This does not happen while using other themes.
MWE:
\documentclass{beamer}
\usetheme{metropolis}
\includeonlylecture{2}
\begin{document}
\lecture{1}{1}
\section{1}
\subsection{1.1}
\frame{\subsectionpage}
\frame{foo}
\lecture{}{2}
\frame{bar}
\end{document}
same issue. I think something happened in \subsectionpage
.