Beamer, LaTeX templates: Use bibliography instead of biblio-files.

Also use `\addbibresource` instead of `\bibliography` for biblatex.

See jgm/pandoc#1661.
This commit is contained in:
John MacFarlane 2015-05-11 21:13:25 -07:00
parent 1b789219e5
commit da35eb3c4a
2 changed files with 10 additions and 10 deletions

View file

@ -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$

View file

@ -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$