浏览代码

ox-latex: Fix inline-math table mode

* lisp/ox-latex.el (org-latex--math-table): Fix inline-math table
  environment.
Nicolas Goaziou 12 年之前
父节点
当前提交
33f800ccd2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox-latex.el

+ 1 - 1
lisp/ox-latex.el

@@ -2561,7 +2561,7 @@ This function assumes TABLE has `org' as its `:type' property and
 `inline-math' or `math' as its `:mode' attribute.."
   (let* ((caption (org-latex--caption/label-string table info))
 	 (attr (org-export-read-attribute :attr_latex table))
-	 (inlinep (eq (plist-get attr :mode) 'inline-math))
+	 (inlinep (equal (plist-get attr :mode) "inline-math"))
 	 (env (or (plist-get attr :environment)
 		  org-latex-default-table-environment))
 	 (contents