diff options
Diffstat (limited to 'templates/latex.template')
-rw-r--r-- | templates/latex.template | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/templates/latex.template b/templates/latex.template index 371484ffc..e1dbdae83 100644 --- a/templates/latex.template +++ b/templates/latex.template @@ -19,8 +19,8 @@ $if(natbib)$ $endif$ $if(biblatex)$ \usepackage{biblatex} -$if(biblio)$ -\bibliography{$biblio$} +$if(biblio-files)$ +\bibliography{$biblio-files$} $endif$ $endif$ $if(lhs)$ @@ -104,13 +104,20 @@ $if(toc)$ $endif$ $body$ -$if(biblio)$ +$if(biblio-files)$ $if(natbib)$ -\bibliography{$biblio$} +$if(biblio-title)$ +$if(book-class)$ +\renewcommand\bibname{$biblio-title$} +$else$ +\renewcommand\refname{$biblio-title$} +$endif$ +$endif$ +\bibliography{$biblio-files$} $endif$ $endif$ $if(biblatex)$ -\printbibliography +\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ $endif$ $for(include-after)$ |