ox-latex.el: Format-spec checks Polyglossia

* ox-latex.el (org-latex--format-spec): Also check Polyglossia language.
This commit is contained in:
Rasmus 2016-05-23 09:00:54 +02:00
parent 42bc27b473
commit 58f5def625
1 changed files with 1 additions and 0 deletions

View File

@ -1541,6 +1541,7 @@ INFO is a plist used as a communication channel."
INFO is a plist used as a communication channel."
(let ((language (let ((lang (plist-get info :language)))
(or (cdr (assoc-string lang org-latex-babel-language-alist t))
(nth 1 (assoc-string lang org-latex-polyglossia-language-alist t))
lang))))
`((?a . ,(org-export-data (plist-get info :author) info))
(?t . ,(org-export-data (plist-get info :title) info))