From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: change tables to matrix when importing, including expressions. Date: Thu, 13 Jun 2019 17:23:32 +0000 Message-ID: <43AC462A-2968-4089-B8B4-B2B8C00D2E8E@ucsd.edu> References: <87muilwr8m.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37077) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbTTh-0003d9-Rw for emacs-orgmode@gnu.org; Thu, 13 Jun 2019 13:25:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbTTf-0005K8-Ov for emacs-orgmode@gnu.org; Thu, 13 Jun 2019 13:25:33 -0400 Received: from iport-bcv2-out.ucsd.edu ([132.239.0.73]:62072) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbTTY-00052a-DL for emacs-orgmode@gnu.org; Thu, 13 Jun 2019 13:25:26 -0400 In-Reply-To: <87muilwr8m.fsf@mat.ucm.es> Content-Language: en-US Content-ID: <8F20CEB5EA76A948854AB8199DAE268F@AD.UCSD.EDU> 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" To: Uwe Brauer Cc: "emacs-orgmode@gnu.org" [snip] > On Jun 13, 2019, at 6:26 AM, Uwe Brauer wrote: >=20 >=20 > However I would like=20 > #+begin_src=20 > #+attr_latex: :mode math :environment matrix > D=3D > | 0 | -5 | > | 5 | 0 | > #+end_src >=20 > To be exported as=20 >=20 > #+begin_src=20 > \[ > D=3D > \begin{matrix} > 0 & -5 \\ > 5 & 0 \\ > \end{matrix} > \] > #+end_src >=20 > How can I do that?=20 This is morally equivalent: #+attr_latex: :mode math :math-prefix D=3D :environment matrix | 0 | -5 | | 5 | 0 | There will be no newline between the '=3D' and the '\begin'. If that is som= ething you truly need you will have to add a filter. See (info "(org) Advan= ced Export Configuration"). HTH, Chuck=