summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-12-06 04:09:36 +0100
committerJonas Smedegaard <dr@jones.dk>2014-12-06 04:09:36 +0100
commita6b09c19af43109b1377c1bd7d6afdabfcc02266 (patch)
treeb7c1b95f7968f8caea0e4c05a5493b5f5048efb4
parentc01ef270b3f779ecd5a4fe8bf5d14eba1968288b (diff)
Fix reuse lang variable with XeTeX (not unique mainlang).
-rw-r--r--template.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.tex b/template.tex
index b1ec87e..cae6bc3 100644
--- a/template.tex
+++ b/template.tex
@@ -122,7 +122,7 @@ $endif$
$if(lang)$
\ifxetex
\usepackage{polyglossia}
- \setmainlanguage{$mainlang$}
+ \setmainlanguage{$lang$}
\else
\usepackage[$lang$]{babel}
\fi