aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-09-26 15:31:18 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-09-26 15:31:18 -0700
commit5c35a0a6986e4416e1c324b23280a108c513e172 (patch)
tree4d48da9f8c03a2a5912cd71b0615b6d095b75eb7
parenta63c58b23ecb159ed463beb084d6f36b1bd9f560 (diff)
parent19525bdeda847829c4514572c8699627250db5b8 (diff)
downloadpandoc-5c35a0a6986e4416e1c324b23280a108c513e172.tar.gz
Merge pull request #70 from bluebirch/master
Fix polyglossia/biblatex problem with xelatex
-rw-r--r--default.latex16
1 files changed, 8 insertions, 8 deletions
diff --git a/default.latex b/default.latex
index f03aed105..b4822acd5 100644
--- a/default.latex
+++ b/default.latex
@@ -49,6 +49,14 @@ $endif$
$if(geometry)$
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
$endif$
+$if(lang)$
+\ifxetex
+ \usepackage{polyglossia}
+ \setmainlanguage{$mainlang$}
+\else
+ \usepackage[$lang$]{babel}
+\fi
+$endif$
$if(natbib)$
\usepackage{natbib}
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
@@ -123,14 +131,6 @@ $endif$
$if(verbatim-in-note)$
\VerbatimFootnotes % allows verbatim text in footnotes
$endif$
-$if(lang)$
-\ifxetex
- \usepackage{polyglossia}
- \setmainlanguage{$mainlang$}
-\else
- \usepackage[$lang$]{babel}
-\fi
-$endif$
$if(title)$
\title{$title$$if(subtitle)$\\\vspace{0.5em}{\large $subtitle$}$endif$}