1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-01 08:17:34 +00:00

ox-latex: Fix inline-math table mode

* lisp/ox-latex.el (org-latex--math-table): Fix inline-math table
  environment.
This commit is contained in:
Nicolas Goaziou 2013-04-09 15:46:28 +02:00
parent 7c64274752
commit 33f800ccd2

View File

@ -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