Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

includeonlylecture and subsectionpage are not compatible #376

Open
fschli opened this issue Jan 17, 2021 · 1 comment
Open

includeonlylecture and subsectionpage are not compatible #376

fschli opened this issue Jan 17, 2021 · 1 comment

Comments

@fschli
Copy link

fschli commented Jan 17, 2021

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 fschli changed the title includeonlylecture and subsectionpage don't work together includeonlylecture and subsectionpage are not compatible Jan 26, 2021
@euphoria0-0
Copy link

euphoria0-0 commented Jun 1, 2022

same issue. I think something happened in \subsectionpage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants