From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: How to tell Org mode radio table translator not to wrap, Greeks in dollars ($$) Date: Sat, 04 Apr 2015 09:57:25 +0200 Message-ID: <87r3s0xr4q.fsf@nicolasgoaziou.fr> References: <551F51EC.8010405@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeIw8-00032W-C6 for emacs-orgmode@gnu.org; Sat, 04 Apr 2015 03:56:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YeIw4-0006xW-9H for emacs-orgmode@gnu.org; Sat, 04 Apr 2015 03:56:12 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:45134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeIw4-0006xP-3G for emacs-orgmode@gnu.org; Sat, 04 Apr 2015 03:56:08 -0400 In-Reply-To: <551F51EC.8010405@gmail.com> (Omid's message of "Fri, 03 Apr 2015 22:52:28 -0400") 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: Omid Cc: emacs-orgmode@gnu.org Hello, Omid writes: > I'm trying to use an Org mode Radio Table in LaTeX according to: > > http://orgmode.org/manual/Radio-tables.html > http://orgmode.org/manual/A-LaTeX-example.html#A-LaTeX-example > > My Org mode table is representing a matrix containing Greek letters > denoted by LaTeX commands (e.g., \mu). The "radioing" process wraps > these commands in dollars (\mu changes to $\mu$). I'm using `:splice > t' to return only table body lines (without wrapping them in a tabular > environment) to insert the table in my equation and matrix > environments. I tried `:fmt "%s"' hoping that the table fields would > be left untouched, but, no the translator still wraps my \mu's in $$. > > Here is an example: > > \begin{comment} > #+ORGTBL: SEND Ah-advection orgtbl-to-latex :splice t :skip 0 :fmt "%s" > | 1-\mu | | | | | > | \mu | 1-\mu | | | | > | | \ddots | \ddots | | | > | | | \mu | 1-\mu | | > | | | | \mu | 1-\mu | > \end{comment} > > with the translated result > > \begin{equation} > \label{eq:Ah-advection} > A_{h}= > \begin{bmatrix} > % BEGIN RECEIVE ORGTBL Ah-advection > 1-$\mu$ & & & & \\ > $\mu$ & 1-$\mu$ & & & \\ > & \ddots & \ddots & & \\ > & & $\mu$ & 1-$\mu$ & \\ > & & & $\mu$ & 1-$\mu$ \\ > % END RECEIVE ORGTBL Ah-advection > \end{bmatrix} > \end{equation} > > How can I tell the table translator not to wrap Greeks in $$? If you use the development version (Org 8.3), this is done using ":raw t" parameter. Regards, -- Nicolas Goaziou