From 77cb2e5cfad94387505374e57af31833bb02f398 Mon Sep 17 00:00:00 2001 From: mb21 Date: Wed, 7 Oct 2015 22:46:44 +0200 Subject: Change variable to polyglossia-lang.name and .options --- default.latex | 6 ++++-- 1 file 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 -- cgit v1.2.3