diff options
author | Rasmus <rasmus@gmx.us> | 2016-05-23 09:00:54 +0200 |
---|---|---|
committer | Rasmus <rasmus@gmx.us> | 2016-05-23 09:00:54 +0200 |
commit | 58f5def6256ebef9cde9485daf7f57c45cd4402a (patch) | |
tree | dada7fcd795418ff487384cc93745fb18a816895 | |
parent | 42bc27b473b58887d5fe71cb149ed9548725435e (diff) | |
download | org-mode-58f5def6256ebef9cde9485daf7f57c45cd4402a.tar.gz |
ox-latex.el: Format-spec checks Polyglossia
* ox-latex.el (org-latex--format-spec): Also check Polyglossia language.
-rw-r--r-- | lisp/ox-latex.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index f8ee621..21e0a8b 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -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)) |