emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [BUG?] [ox-latex] tables and inline-math doesn't seem to work


From: Rasmus
Subject: [O] [BUG?] [ox-latex] tables and inline-math doesn't seem to work
Date: Sun, 07 Apr 2013 22:26:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi,

A bug seems to have emerged wrt inline-math and org tables.  I guess
it might be from when we dropped the '"' around :attributes, but I
haven't tested this. 

Consider this example 

#+BEGIN_SRC org
here's inline
#+ATTR_LATEX: :mode inline-math :math-prefix P= :environment bmatrix
| a | b |
| g | d |
table.
#+END_SRC

This exports as 
#+BEGIN_SRC latex
here's inline
\[P=\begin{bmatrix}
 a & b \\
 g & d \\
\end{bmatrix}\]
table.
#+END_SRC

but should export as
#+BEGIN_SRC latex
here's inline
\(P=\begin{bmatrix}
 a & b \\
 g & d \\
\end{bmatrix}\)
table.
#+END_SRC

–Rasmus

-- 
El Rey ha muerto. ¡Larga vida al Rey!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]