From da35eb3c4ad33d39df535b2a045a132f85f77ab1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 11 May 2015 21:13:25 -0700 Subject: [PATCH] Beamer, LaTeX templates: Use `bibliography` instead of `biblio-files`. Also use `\addbibresource` instead of `\bibliography` for biblatex. See jgm/pandoc#1661. --- default.beamer | 10 +++++----- default.latex | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/default.beamer b/default.beamer index 58f8b7361..ebc05bf51 100644 --- a/default.beamer +++ b/default.beamer @@ -42,9 +42,9 @@ $if(natbib)$ $endif$ $if(biblatex)$ \usepackage{biblatex} -$if(biblio-files)$ -\bibliography{$biblio-files$} -$endif$ +$for(bibliography)$ +\addbibresource{$bibliography$} +$endfor$ $endif$ $if(listings)$ \usepackage{listings} @@ -150,7 +150,7 @@ $endif$ $body$ $if(natbib)$ -$if(biblio-files)$ +$if(bibliography)$ $if(biblio-title)$ $if(book-class)$ \renewcommand\bibname{$biblio-title$} @@ -159,7 +159,7 @@ $else$ $endif$ $endif$ \begin{frame}[allowframebreaks]{$biblio-title$} -\bibliography{$biblio-files$} +\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} \end{frame} $endif$ diff --git a/default.latex b/default.latex index 4d31d732b..be64c24db 100644 --- a/default.latex +++ b/default.latex @@ -63,9 +63,9 @@ $if(natbib)$ $endif$ $if(biblatex)$ \usepackage{biblatex} -$if(biblio-files)$ -\bibliography{$biblio-files$} -$endif$ +$for(bibliography)$ +\addbibresource{$bibliography$} +$endfor$ $endif$ $if(listings)$ \usepackage{listings} @@ -185,7 +185,7 @@ $endif$ $body$ $if(natbib)$ -$if(biblio-files)$ +$if(bibliography)$ $if(biblio-title)$ $if(book-class)$ \renewcommand\bibname{$biblio-title$} @@ -193,7 +193,7 @@ $else$ \renewcommand\refname{$biblio-title$} $endif$ $endif$ -\bibliography{$biblio-files$} +\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} $endif$ $endif$