summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-04-09 13:46:28 (GMT)
committer Nicolas Goaziou <n.goaziou@gmail.com>2013-04-09 13:46:41 (GMT)
commit33f800ccd2eb931a8133ceb821ac89c432992375 (patch)
treeba6ee956c8941b06a1a59021b82fd7849c73fc26
parent7c64274752c4aacd397fa383d88757bee16502de (diff)
downloadorg-mode-33f800ccd2eb931a8133ceb821ac89c432992375.zip
org-mode-33f800ccd2eb931a8133ceb821ac89c432992375.tar.gz
ox-latex: Fix inline-math table mode
* lisp/ox-latex.el (org-latex--math-table): Fix inline-math table environment.
-rw-r--r--lisp/ox-latex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 9c04695..312d842 100644
--- a/lisp/ox-latex.el
+++ b/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