Skip to content

Commit

Permalink
Fix default.beamer nocite location.
Browse files Browse the repository at this point in the history
It must be inside a frame or it is ignored.

Improves on #10465. Obsoletes #10471.

Co-authored-by:  Thomas Hodgson <hello@twshodgson.net>
  • Loading branch information
jgm and twsh committed Dec 19, 2024
1 parent cef339f commit 86dd2f7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions data/templates/default.beamer
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ $if(linestretch)$
$endif$
$body$

$if(nocite-ids)$
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
$endif$
$if(natbib)$
$if(bibliography)$
$if(biblio-title)$
Expand All @@ -181,6 +178,9 @@ $else$
$endif$
$endif$
\begin{frame}[allowframebreaks]{$biblio-title$}
$if(nocite-ids)$
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
$endif$
\bibliographytrue
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
\end{frame}
Expand All @@ -189,6 +189,9 @@ $endif$
$endif$
$if(biblatex)$
\begin{frame}[allowframebreaks]{$biblio-title$}
$if(nocite-ids)$
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
$endif$
\bibliographytrue
\printbibliography[heading=none]
\end{frame}
Expand Down

0 comments on commit 86dd2f7

Please sign in to comment.