ox-latex.el: Format-spec checks Polyglossia
* ox-latex.el (org-latex--format-spec): Also check Polyglossia language.
This commit is contained in:
parent
42bc27b473
commit
58f5def625
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue