diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-11-14 20:50:13 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-11-14 20:50:13 -0800 |
commit | c9407f85a05dd51c7df6aa5db4647fd6234a5360 (patch) | |
tree | 0607ae482a6c1177af85f7ded7165647500f3e80 /data | |
parent | 51897937cd07a066df656451068ef56d13b4edc4 (diff) | |
download | pandoc-c9407f85a05dd51c7df6aa5db4647fd6234a5360.tar.gz |
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')
-rw-r--r-- | data/templates/default.latex | 20 |
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$} |