git.iko.soy/typeable/pandoc
on master help sign in
Change variable to polyglossia-lang.name and .options
commit77cb2e5cfad94387505374e57af31833bb02f398 authormb21 <mb21@users.noreply.github.com> dateWed 7 Oct 2015, 22:46 (11 years ago) parentcddd99c
1 file changed+4−2
default.latex+4−2
default.latex+4−2
@@ -82,8 +82,10 @@ $endif$
8282$if(lang)$
8383\ifxetex
8484 \usepackage{polyglossia}
85− \setmainlanguage[variant=$polyglossia-variant$]{$polyglossia-lang$}
86− \setotherlanguages{$for(polyglossia-otherlangs)$$polyglossia-otherlangs$$sep$,$endfor$}
85+ \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
86+$for(polyglossia-otherlangs)$
87+ \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
88+$endfor$
8789\else
8890 \usepackage[shorthands=off,$babel-lang$]{babel}
8991\fi