From c9407f85a05dd51c7df6aa5db4647fd6234a5360 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 14 Nov 2017 20:50:13 -0800 Subject: LaTeX template: include natbib/biblatex after polyglossia. Otherwise we seem to get an error; biblatex wants polyglossia language to be defined. Closes #4073. --- data/templates/default.latex | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'data/templates') diff --git a/data/templates/default.latex b/data/templates/default.latex index 4c60f8d21..7e140004f 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -154,16 +154,6 @@ $endif$ $if(beamer)$ \newif\ifbibliography $endif$ -$if(natbib)$ -\usepackage[$natbiboptions$]{natbib} -\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} -$endif$ -$if(biblatex)$ -\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} -$for(bibliography)$ -\addbibresource{$bibliography$} -$endfor$ -$endif$ $if(listings)$ \usepackage{listings} \newcommand{\passthrough}[1]{#1} @@ -296,6 +286,16 @@ $if(dir)$ \newenvironment{LTR}{\beginL}{\endL} \fi $endif$ +$if(natbib)$ +\usepackage[$natbiboptions$]{natbib} +\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} +$endif$ +$if(biblatex)$ +\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} +$for(bibliography)$ +\addbibresource{$bibliography$} +$endfor$ +$endif$ $if(title)$ \title{$title$$if(thanks)$\thanks{$thanks$}$endif$} -- cgit v1.2.3