Change variable to polyglossia-lang.name and .options
This commit is contained in:
parent
cddd99ccb2
commit
77cb2e5cfa
1 changed files with 4 additions and 2 deletions
|
@ -82,8 +82,10 @@ $endif$
|
||||||
$if(lang)$
|
$if(lang)$
|
||||||
\ifxetex
|
\ifxetex
|
||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
\setmainlanguage[variant=$polyglossia-variant$]{$polyglossia-lang$}
|
\setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
|
||||||
\setotherlanguages{$for(polyglossia-otherlangs)$$polyglossia-otherlangs$$sep$,$endfor$}
|
$for(polyglossia-otherlangs)$
|
||||||
|
\setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
|
||||||
|
$endfor$
|
||||||
\else
|
\else
|
||||||
\usepackage[shorthands=off,$babel-lang$]{babel}
|
\usepackage[shorthands=off,$babel-lang$]{babel}
|
||||||
\fi
|
\fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue