diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-10-10 13:52:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-10-10 13:52:06 -0700 |
commit | f32abb9617f8b1cc8defe493b94ccf4d4e79600b (patch) | |
tree | 53819288e1b8234338a8de1ab25dcf1f937f0b0a /default.latex | |
parent | 627f9344b38c38c8c60c03a780d2a90ec7e33660 (diff) | |
parent | 77cb2e5cfad94387505374e57af31833bb02f398 (diff) | |
download | pandoc-f32abb9617f8b1cc8defe493b94ccf4d4e79600b.tar.gz |
Merge pull request #129 from mb21/polyglossia-lang
Change variable to polyglossia-lang.name and .options
Diffstat (limited to 'default.latex')
-rw-r--r-- | default.latex | 6 |
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 |