From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: workflow, matlab+latex in org file Date: Fri, 10 Mar 2017 18:03:56 +0000 Message-ID: <87h931qa9f.fsf@ucl.ac.uk> References: <8760sc8ids.fsf@mat.ucm.es> <87shvg6z9i.fsf@mat.ucm.es> <5e1e71e3698e415ca51a0b9e3cab5dac@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmOta-0004P2-5K for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 13:04:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmOtW-0007H6-V4 for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 13:04:06 -0500 Received: from mail-ve1eur01on0112.outbound.protection.outlook.com ([104.47.1.112]:26710 helo=EUR01-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmOtW-0007GM-Ja for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 13:04:02 -0500 In-Reply-To: <5e1e71e3698e415ca51a0b9e3cab5dac@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Uwe Brauer's message of "Fri, 10 Mar 2017 16:08:45 +0000") 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Friday, 10 Mar 2017 at 16:08, Uwe Brauer wrote: >>>> "John" =3D=3D John Kitchin writes: > > Hi John, > > Quite some time ago you send me this code of yours. It somehow > disappeared in my mail and only by now I tried it out, great, really=20 > > Only one question > I copied your code in a org file, executed the src sections and > obtained: > > > > #+begin_src matlab :results output latex [...] > How do I suppose to continue now? Because if I export this to a latex > file the latex equations are not exported! I admit that I only use org > files this way export them to latex and continue working. You may need to add ":exports results" to the src line. Also, you should also modify the code to wrap the output in an equation environment: disp('\begin{equation}') disp(ltxjac) disp('\end{equation}') this works for me then. =2D-=20 Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWMLqjAAKCRDIkZPY//z2 fSF3AJ0X8efXIBvSQ/iMN230v5cTdKPrPACggQKp4fXINKhAjsXOUV9AeCWZiaE= =Tk46 -----END PGP SIGNATURE----- --=-=-=--