aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorThomas Hodgson <[email protected]>2024-12-17 19:17:13 +0100
committerGitHub <[email protected]>2024-12-17 10:17:13 -0800
commit7d1962b61721784c18ddfd063102f5cbaa4996c7 (patch)
treedf58c9da4fdcc99c7f4d7718c1b0bdda9d77f856 /data
parent58cc5cc57ee4721acde7c7ef99bf964252611805 (diff)
Move nocites from LaTeX preamble to body (#10465)
Closes #10461. Putting `\nocite` in the preamble works only with biblatex.
Diffstat (limited to 'data')
-rw-r--r--data/templates/common.latex3
-rw-r--r--data/templates/default.beamer3
-rw-r--r--data/templates/default.latex3
3 files changed, 6 insertions, 3 deletions
diff --git a/data/templates/common.latex b/data/templates/common.latex
index 39db21249..a9fddfb44 100644
--- a/data/templates/common.latex
+++ b/data/templates/common.latex
@@ -257,9 +257,6 @@ $for(bibliography)$
\addbibresource{$bibliography$}
$endfor$
$endif$
-$if(nocite-ids)$
-\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
-$endif$
$--
$-- csquotes
$--
diff --git a/data/templates/default.beamer b/data/templates/default.beamer
index 9fcbcf57a..33e268995 100644
--- a/data/templates/default.beamer
+++ b/data/templates/default.beamer
@@ -168,6 +168,9 @@ $if(linestretch)$
$endif$
$body$
+$if(nocite-ids)$
+\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
+$endif$
$if(natbib)$
$if(bibliography)$
$if(biblio-title)$
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 58337066a..b7858dedc 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -96,6 +96,9 @@ $body$
$if(has-frontmatter)$
\backmatter
$endif$
+$if(nocite-ids)$
+\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
+$endif$
$if(natbib)$
$if(bibliography)$
$if(biblio-title)$