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:
parent
1b789219e5
commit
da35eb3c4a
2 changed files with 10 additions and 10 deletions
|
@ -42,9 +42,9 @@ $if(natbib)$
|
||||||
$endif$
|
$endif$
|
||||||
$if(biblatex)$
|
$if(biblatex)$
|
||||||
\usepackage{biblatex}
|
\usepackage{biblatex}
|
||||||
$if(biblio-files)$
|
$for(bibliography)$
|
||||||
\bibliography{$biblio-files$}
|
\addbibresource{$bibliography$}
|
||||||
$endif$
|
$endfor$
|
||||||
$endif$
|
$endif$
|
||||||
$if(listings)$
|
$if(listings)$
|
||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
|
@ -150,7 +150,7 @@ $endif$
|
||||||
$body$
|
$body$
|
||||||
|
|
||||||
$if(natbib)$
|
$if(natbib)$
|
||||||
$if(biblio-files)$
|
$if(bibliography)$
|
||||||
$if(biblio-title)$
|
$if(biblio-title)$
|
||||||
$if(book-class)$
|
$if(book-class)$
|
||||||
\renewcommand\bibname{$biblio-title$}
|
\renewcommand\bibname{$biblio-title$}
|
||||||
|
@ -159,7 +159,7 @@ $else$
|
||||||
$endif$
|
$endif$
|
||||||
$endif$
|
$endif$
|
||||||
\begin{frame}[allowframebreaks]{$biblio-title$}
|
\begin{frame}[allowframebreaks]{$biblio-title$}
|
||||||
\bibliography{$biblio-files$}
|
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
$endif$
|
$endif$
|
||||||
|
|
|
@ -63,9 +63,9 @@ $if(natbib)$
|
||||||
$endif$
|
$endif$
|
||||||
$if(biblatex)$
|
$if(biblatex)$
|
||||||
\usepackage{biblatex}
|
\usepackage{biblatex}
|
||||||
$if(biblio-files)$
|
$for(bibliography)$
|
||||||
\bibliography{$biblio-files$}
|
\addbibresource{$bibliography$}
|
||||||
$endif$
|
$endfor$
|
||||||
$endif$
|
$endif$
|
||||||
$if(listings)$
|
$if(listings)$
|
||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
|
@ -185,7 +185,7 @@ $endif$
|
||||||
$body$
|
$body$
|
||||||
|
|
||||||
$if(natbib)$
|
$if(natbib)$
|
||||||
$if(biblio-files)$
|
$if(bibliography)$
|
||||||
$if(biblio-title)$
|
$if(biblio-title)$
|
||||||
$if(book-class)$
|
$if(book-class)$
|
||||||
\renewcommand\bibname{$biblio-title$}
|
\renewcommand\bibname{$biblio-title$}
|
||||||
|
@ -193,7 +193,7 @@ $else$
|
||||||
\renewcommand\refname{$biblio-title$}
|
\renewcommand\refname{$biblio-title$}
|
||||||
$endif$
|
$endif$
|
||||||
$endif$
|
$endif$
|
||||||
\bibliography{$biblio-files$}
|
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
|
||||||
|
|
||||||
$endif$
|
$endif$
|
||||||
$endif$
|
$endif$
|
||||||
|
|
Loading…
Add table
Reference in a new issue