git.iko.soy/typeable/pandoc
on master help sign in
Beamer, LaTeX templates: Use `bibliography` instead of `biblio-files`.

Also use `\addbibresource` instead of `\bibliography` for biblatex. See jgm/pandoc#1661.

commitda35eb3c4ad33d39df535b2a045a132f85f77ab1 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 11 May 2015, 21:13 (11 years ago) parent1b78921
2 files changed+10−10
default.beamer+5−5 default.latex+5−5
default.beamer+5−5
@@ -42,9 +42,9 @@ $if(natbib)$
4242$endif$
4343$if(biblatex)$
4444\usepackage{biblatex}
45−$if(biblio-files)$
46−\bibliography{$biblio-files$}
47−$endif$
45+$for(bibliography)$
46+\addbibresource{$bibliography$}
47+$endfor$
4848$endif$
4949$if(listings)$
5050\usepackage{listings}
@@ -150,7 +150,7 @@ $endif$
150150$body$
151151
152152$if(natbib)$
153−$if(biblio-files)$
153+$if(bibliography)$
154154$if(biblio-title)$
155155$if(book-class)$
156156\renewcommand\bibname{$biblio-title$}
@@ -159,7 +159,7 @@ $else$
159159$endif$
160160$endif$
161161\begin{frame}[allowframebreaks]{$biblio-title$}
162−\bibliography{$biblio-files$}
162+\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
163163\end{frame}
164164
165165$endif$
default.latex+5−5
@@ -63,9 +63,9 @@ $if(natbib)$
6363$endif$
6464$if(biblatex)$
6565\usepackage{biblatex}
66−$if(biblio-files)$
67−\bibliography{$biblio-files$}
68−$endif$
66+$for(bibliography)$
67+\addbibresource{$bibliography$}
68+$endfor$
6969$endif$
7070$if(listings)$
7171\usepackage{listings}
@@ -185,7 +185,7 @@ $endif$
185185$body$
186186
187187$if(natbib)$
188−$if(biblio-files)$
188+$if(bibliography)$
189189$if(biblio-title)$
190190$if(book-class)$
191191\renewcommand\bibname{$biblio-title$}
@@ -193,7 +193,7 @@ $else$
193193\renewcommand\refname{$biblio-title$}
194194$endif$
195195$endif$
196−\bibliography{$biblio-files$}
196+\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
197197
198198$endif$
199199$endif$