git.iko.soy/typeable/pandoc
on master help sign in
LaTeX template: include natbib/biblatex after polyglossia.

Otherwise we seem to get an error; biblatex wants polyglossia language to be defined. Closes #4073.

commitc9407f85a05dd51c7df6aa5db4647fd6234a5360 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 14 Nov 2017, 20:50 (9 years ago) parent5189793
1 file changed+10−10
data/templates/default.latex+10−10
data/templates/default.latex+10−10
@@ -154,16 +154,6 @@ $endif$
154154$if(beamer)$
155155\newif\ifbibliography
156156$endif$
157−$if(natbib)$
158−\usepackage[$natbiboptions$]{natbib}
159−\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
160−$endif$
161−$if(biblatex)$
162−\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
163−$for(bibliography)$
164−\addbibresource{$bibliography$}
165−$endfor$
166−$endif$
167157$if(listings)$
168158\usepackage{listings}
169159\newcommand{\passthrough}[1]{#1}
@@ -296,6 +286,16 @@ $if(dir)$
296286 \newenvironment{LTR}{\beginL}{\endL}
297287\fi
298288$endif$
289+$if(natbib)$
290+\usepackage[$natbiboptions$]{natbib}
291+\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
292+$endif$
293+$if(biblatex)$
294+\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
295+$for(bibliography)$
296+\addbibresource{$bibliography$}
297+$endfor$
298+$endif$
299299
300300$if(title)$
301301\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}