From 5f8d7968fe7c3d8da3363b7e3ff1a11914c081ae Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 11 Apr 2014 11:08:10 -0700 Subject: [PATCH] LaTeX template: Allow bibliography to be used in place of biblio-files. Closes #43. Thanks to nougad. --- default.latex | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/default.latex b/default.latex index 3f833f5fd..88c2bf693 100644 --- a/default.latex +++ b/default.latex @@ -47,6 +47,9 @@ $if(biblatex)$ $if(biblio-files)$ \bibliography{$biblio-files$} $endif$ +$if(bibliography)$ +\bibliography{$bibliography$} +$endif$ $endif$ $if(listings)$ \usepackage{listings} @@ -166,7 +169,6 @@ $endif$ $body$ $if(natbib)$ -$if(biblio-files)$ $if(biblio-title)$ $if(book-class)$ \renewcommand\bibname{$biblio-title$} @@ -174,8 +176,11 @@ $else$ \renewcommand\refname{$biblio-title$} $endif$ $endif$ +$if(biblio-files)$ \bibliography{$biblio-files$} - +$endif$ +$if(bibliography)$ +\bibliography($bibliography$} $endif$ $endif$ $if(biblatex)$