mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-22 07:25:36 +00:00
Merge pull request #129 from mb21/polyglossia-lang
Change variable to polyglossia-lang.name and .options
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user