diff options
| author | Thomas Hodgson <[email protected]> | 2024-12-17 19:17:13 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-12-17 10:17:13 -0800 |
| commit | 7d1962b61721784c18ddfd063102f5cbaa4996c7 (patch) | |
| tree | df58c9da4fdcc99c7f4d7718c1b0bdda9d77f856 /data | |
| parent | 58cc5cc57ee4721acde7c7ef99bf964252611805 (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.latex | 3 | ||||
| -rw-r--r-- | data/templates/default.beamer | 3 | ||||
| -rw-r--r-- | data/templates/default.latex | 3 |
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)$ |
