summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-12-06 04:10:33 +0100
committerJonas Smedegaard <dr@jones.dk>2014-12-06 04:10:33 +0100
commite46238f50fec94890f58a07cbae7e073776422e1 (patch)
tree120c0c33de6ef4243b009d096ffe0e7755739a5c
parenta6b09c19af43109b1377c1bd7d6afdabfcc02266 (diff)
Add support for langvariant variable with XeTeX.
-rw-r--r--template.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.tex b/template.tex
index cae6bc3..9d9c958 100644
--- a/template.tex
+++ b/template.tex
@@ -122,7 +122,7 @@ $endif$
$if(lang)$
\ifxetex
\usepackage{polyglossia}
- \setmainlanguage{$lang$}
+ \setmainlanguage$if(langvariant)$[variant=$langvariant$]$endif${$lang$}
\else
\usepackage[$lang$]{babel}
\fi