aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex6
1 files changed, 4 insertions, 2 deletions
diff --git a/default.latex b/default.latex
index e9eaa08b7..1a0530db5 100644
--- a/default.latex
+++ b/default.latex
@@ -82,8 +82,10 @@ $endif$
$if(lang)$
\ifxetex
\usepackage{polyglossia}
- \setmainlanguage[variant=$polyglossia-variant$]{$polyglossia-lang$}
- \setotherlanguages{$for(polyglossia-otherlangs)$$polyglossia-otherlangs$$sep$,$endfor$}
+ \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
+$for(polyglossia-otherlangs)$
+ \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
+$endfor$
\else
\usepackage[shorthands=off,$babel-lang$]{babel}
\fi