git.iko.soy/typeable/pandoc
on master help sign in
LaTeX template: Allow bibliography to be used in place of biblio-files.
5f8d796John MacFarlane
default.latex+7−2
@@ -47,6 +47,9 @@ $if(biblatex)$
47$if(biblio-files)$
47$if(biblio-files)$
48\bibliography{$biblio-files$}
48\bibliography{$biblio-files$}
49$endif$
49$endif$
50+$if(bibliography)$
51+\bibliography{$bibliography$}
52+$endif$
50$endif$
53$endif$
51$if(listings)$
54$if(listings)$
52\usepackage{listings}
55\usepackage{listings}
@@ -166,7 +169,6 @@ $endif$
166$body$
169$body$
167
170
168$if(natbib)$
171$if(natbib)$
169−$if(biblio-files)$
170$if(biblio-title)$
172$if(biblio-title)$
171$if(book-class)$
173$if(book-class)$
172\renewcommand\bibname{$biblio-title$}
174\renewcommand\bibname{$biblio-title$}
@@ -174,8 +176,11 @@ $else$
174\renewcommand\refname{$biblio-title$}
176\renewcommand\refname{$biblio-title$}
175$endif$
177$endif$
176$endif$
178$endif$
179+$if(biblio-files)$
177\bibliography{$biblio-files$}
180\bibliography{$biblio-files$}
178−
181+$endif$
182+$if(bibliography)$
183+\bibliography($bibliography$}
179$endif$
184$endif$
180$endif$
185$endif$
181$if(biblatex)$
186$if(biblatex)$