emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG?] [ox-latex] tables and inline-math doesn't seem to work
@ 2013-04-07 20:26 Rasmus
  2013-04-09 13:49 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus @ 2013-04-07 20:26 UTC (permalink / raw)
  To: emacs-orgmode

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG?] [ox-latex] tables and inline-math doesn't seem to work
  2013-04-07 20:26 [BUG?] [ox-latex] tables and inline-math doesn't seem to work Rasmus
@ 2013-04-09 13:49 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-04-09 13:49 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

Hello,

Rasmus <rasmus@gmx.us> writes:

> A bug seems to have emerged wrt inline-math and org tables.

Indeed. Thank you for reporting it. It should be fixed.

> I guess it might be from when we dropped the '"' around :attributes,
> but I haven't tested this.

Good guess.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-09 13:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-07 20:26 [BUG?] [ox-latex] tables and inline-math doesn't seem to work Rasmus
2013-04-09 13:49 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).