소스 검색

ox-latex.el: Format-spec checks Polyglossia

* ox-latex.el (org-latex--format-spec): Also check Polyglossia language.
Rasmus 9 년 전
부모
커밋
58f5def625
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lisp/ox-latex.el

+ 1 - 0
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))