mtheme icon indicating copy to clipboard operation
mtheme copied to clipboard

includeonlylecture and subsectionpage are not compatible

Open fschli opened this issue 4 years ago • 1 comments

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}

fschli avatar Jan 17 '21 10:01 fschli

same issue. I think something happened in \subsectionpage.

euphoria0-0 avatar Jun 01 '22 10:06 euphoria0-0