git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #129 from mb21/polyglossia-lang

Change variable to polyglossia-lang.name and .options

commitf32abb9617f8b1cc8defe493b94ccf4d4e79600b authorJohn MacFarlane <jgm@berkeley.edu> dateSat 10 Oct 2015, 13:52 (11 years ago) parent627f93477cb2e5
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