diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-03-14 00:09:36 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-03-14 00:10:37 -0800 |
commit | 3622097da360ab83112eb26b4f6231488d747a95 (patch) | |
tree | c4fe423c89e6d9118fd03481cbc3c6c25557c525 /data | |
parent | c55a73b642fc24d3557c3683f101d13d89ee3316 (diff) | |
download | pandoc-3622097da360ab83112eb26b4f6231488d747a95.tar.gz |
Handle 'nocite' better with --biblatex and --natbib.
Previously the nocite metadata field was ignored with
these formats. Now it populates a `nocite-ids` template
variable and causes a `\nocite` command to be issued.
Closes #4585.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.latex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index 50fad2a49..830bf8012 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -372,6 +372,9 @@ $for(bibliography)$ \addbibresource{$bibliography$} $endfor$ $endif$ +$if(nocite-ids)$ +\nocite{$for(nocite-ids)$$it$$sep$, $endfor$} +$endif$ $if(csl-refs)$ \newlength{\cslhangindent} \setlength{\cslhangindent}{1.5em} |