summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-14 20:50:13 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-14 20:50:13 -0800
commitc9407f85a05dd51c7df6aa5db4647fd6234a5360 (patch)
tree0607ae482a6c1177af85f7ded7165647500f3e80 /data/templates
parent51897937cd07a066df656451068ef56d13b4edc4 (diff)
LaTeX template: include natbib/biblatex after polyglossia.
Otherwise we seem to get an error; biblatex wants polyglossia language to be defined. Closes #4073.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.latex20
1 files changed, 10 insertions, 10 deletions
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$}