From dc54451b09d20740f139e31674622f339b95edc9 Mon Sep 17 00:00:00 2001 From: Thomas Hodgson Date: Wed, 18 Dec 2024 09:55:20 +0100 Subject: [PATCH] Move nocite command inside frame The template uses the ignorenonframetext option. The nocite command would be ignored in the place it was. --- data/templates/default.beamer | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/data/templates/default.beamer b/data/templates/default.beamer index 33e268995650..b2eafaadf9f7 100644 --- a/data/templates/default.beamer +++ b/data/templates/default.beamer @@ -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)$ @@ -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} @@ -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}