aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-10 13:52:06 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-10 13:52:06 -0700
commitf32abb9617f8b1cc8defe493b94ccf4d4e79600b (patch)
tree53819288e1b8234338a8de1ab25dcf1f937f0b0a
parent627f9344b38c38c8c60c03a780d2a90ec7e33660 (diff)
parent77cb2e5cfad94387505374e57af31833bb02f398 (diff)
downloadpandoc-f32abb9617f8b1cc8defe493b94ccf4d4e79600b.tar.gz
Merge pull request #129 from mb21/polyglossia-lang
Change variable to polyglossia-lang.name and .options
-rw-r--r--default.latex6
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