diff options
author | mb21 <mb21@users.noreply.github.com> | 2015-10-07 22:46:44 +0200 |
---|---|---|
committer | mb21 <mb21@users.noreply.github.com> | 2015-10-07 22:46:44 +0200 |
commit | 77cb2e5cfad94387505374e57af31833bb02f398 (patch) | |
tree | 8bc70b6e788968bd72d9c44373722ed16b9d6a59 /default.latex | |
parent | cddd99ccb2aad9056b16f712b4d37a2bbecdcf46 (diff) | |
download | pandoc-77cb2e5cfad94387505374e57af31833bb02f398.tar.gz |
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 |