From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: [BUG?] [ox-latex] tables and inline-math doesn't seem to work Date: Sun, 07 Apr 2013 22:26:56 +0200 Message-ID: <87d2u684tr.fsf@pank.iue.private> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP65G-0006hB-VU for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 03:01:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP65C-0006n3-7l for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 03:01:42 -0400 Received: from plane.gmane.org ([80.91.229.3]:46985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP65C-0006mw-1h for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 03:01:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UP63Z-0008KN-EB for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 08:59:57 +0200 Received: from ip-pool-133.iue.it ([192.167.90.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 08:59:57 +0200 Received: from rasmus by ip-pool-133.iue.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 08:59:57 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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!