aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-03-05 08:37:04 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-03-05 08:37:04 -0800
commit49d45a23dc71fcc88923273d7d92137c20a15009 (patch)
tree5df918f46fe9386e8e0e799fbc39c9b28d9a7130 /default.latex
parentd8fc051068359559b5245c13e269238b266cd75a (diff)
downloadpandoc-49d45a23dc71fcc88923273d7d92137c20a15009.tar.gz
LaTeX template: use mainlang variable in \setmainlanguage.
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.latex b/default.latex
index d8c4b6175..2eadad700 100644
--- a/default.latex
+++ b/default.latex
@@ -98,7 +98,7 @@ $endif$
$if(lang)$
\ifxetex
\usepackage{polyglossia}
- \setmainlanguage{$lang$}
+ \setmainlanguage{$mainlang$}
\else
\usepackage[$lang$]{babel}
\fi