diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2015-05-11 21:13:25 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2015-05-11 21:13:25 -0700 |
| commit | da35eb3c4ad33d39df535b2a045a132f85f77ab1 (patch) | |
| tree | 75903406529b41a775d13f3429b049deeaf007bb | |
| parent | 1b789219e50db1ac52d6fe6e471641a880cd7a33 (diff) | |
| download | pandoc-da35eb3c4ad33d39df535b2a045a132f85f77ab1.tar.gz | |
Beamer, LaTeX templates: Use `bibliography` instead of `biblio-files`.
Also use `\addbibresource` instead of `\bibliography` for biblatex.
See jgm/pandoc#1661.
| -rw-r--r-- | default.beamer | 10 | ||||
| -rw-r--r-- | 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$ |
