aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormb21 <mb21@users.noreply.github.com>2015-10-07 22:46:44 +0200
committermb21 <mb21@users.noreply.github.com>2015-10-07 22:46:44 +0200
commit77cb2e5cfad94387505374e57af31833bb02f398 (patch)
tree8bc70b6e788968bd72d9c44373722ed16b9d6a59
parentcddd99ccb2aad9056b16f712b4d37a2bbecdcf46 (diff)
downloadpandoc-77cb2e5cfad94387505374e57af31833bb02f398.tar.gz
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