Moved polyglossia/babel definitions to before biblatex; otherwise biblatex fails with xetex.
This commit is contained in:
parent
a63c58b23e
commit
a4b477f6e6
1 changed files with 9 additions and 8 deletions
|
@ -49,6 +49,15 @@ $endif$
|
||||||
$if(geometry)$
|
$if(geometry)$
|
||||||
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
||||||
$endif$
|
$endif$
|
||||||
|
$if(lang)$
|
||||||
|
\ifxetex
|
||||||
|
\usepackage{polyglossia}
|
||||||
|
\setdefaultlanguage{$lang$}
|
||||||
|
\setmainlanguage{$mainlang$}
|
||||||
|
\else
|
||||||
|
\usepackage[$lang$]{babel}
|
||||||
|
\fi
|
||||||
|
$endif$
|
||||||
$if(natbib)$
|
$if(natbib)$
|
||||||
\usepackage{natbib}
|
\usepackage{natbib}
|
||||||
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
|
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
|
||||||
|
@ -123,14 +132,6 @@ $endif$
|
||||||
$if(verbatim-in-note)$
|
$if(verbatim-in-note)$
|
||||||
\VerbatimFootnotes % allows verbatim text in footnotes
|
\VerbatimFootnotes % allows verbatim text in footnotes
|
||||||
$endif$
|
$endif$
|
||||||
$if(lang)$
|
|
||||||
\ifxetex
|
|
||||||
\usepackage{polyglossia}
|
|
||||||
\setmainlanguage{$mainlang$}
|
|
||||||
\else
|
|
||||||
\usepackage[$lang$]{babel}
|
|
||||||
\fi
|
|
||||||
$endif$
|
|
||||||
|
|
||||||
$if(title)$
|
$if(title)$
|
||||||
\title{$title$$if(subtitle)$\\\vspace{0.5em}{\large $subtitle$}$endif$}
|
\title{$title$$if(subtitle)$\\\vspace{0.5em}{\large $subtitle$}$endif$}
|
||||||
|
|
Loading…
Add table
Reference in a new issue