git.iko.soy/typeable/pandoc
on master help sign in
LaTeX template: Allow bibliography to be used in place of biblio-files.

Closes #43. Thanks to nougad.

commit5f8d7968fe7c3d8da3363b7e3ff1a11914c081ae authorJohn MacFarlane <jgm@berkeley.edu> dateFri 11 Apr 2014, 11:08 (13 years ago) parent7c977fe
1 file changed+7−2
default.latex+7−2
default.latex+7−2
@@ -47,6 +47,9 @@ $if(biblatex)$
4747$if(biblio-files)$
4848\bibliography{$biblio-files$}
4949$endif$
50+$if(bibliography)$
51+\bibliography{$bibliography$}
52+$endif$
5053$endif$
5154$if(listings)$
5255\usepackage{listings}
@@ -166,7 +169,6 @@ $endif$
166169$body$
167170
168171$if(natbib)$
169−$if(biblio-files)$
170172$if(biblio-title)$
171173$if(book-class)$
172174\renewcommand\bibname{$biblio-title$}
@@ -174,8 +176,11 @@ $else$
174176\renewcommand\refname{$biblio-title$}
175177$endif$
176178$endif$
179+$if(biblio-files)$
177180\bibliography{$biblio-files$}
178−
181+$endif$
182+$if(bibliography)$
183+\bibliography($bibliography$}
179184$endif$
180185$endif$
181186$if(biblatex)$