From 3622097da360ab83112eb26b4f6231488d747a95 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 14 Mar 2021 00:09:36 -0800 Subject: 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. --- data/templates/default.latex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data') 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} -- cgit v1.2.3