aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-04-11 11:08:10 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-04-11 11:08:54 -0700
commit5f8d7968fe7c3d8da3363b7e3ff1a11914c081ae (patch)
treec0417aae76e712c696332734b44cde10482be789
parent7c977fe097ac27657745db3194cad42c9844fbc5 (diff)
downloadpandoc-5f8d7968fe7c3d8da3363b7e3ff1a11914c081ae.tar.gz
LaTeX template: Allow bibliography to be used in place of biblio-files.
Closes #43. Thanks to nougad.
-rw-r--r--default.latex9
1 files 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)$