From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: workflow, matlab+latex in org file Date: Mon, 11 Jul 2016 13:55:53 +0000 Message-ID: <87wpks6zyu.fsf@mat.ucm.es> References: Reply-To: Uwe Brauer Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMbgo-0003aq-Ke for emacs-orgmode@gnu.org; Mon, 11 Jul 2016 09:56:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMbgk-0006Kz-Hf for emacs-orgmode@gnu.org; Mon, 11 Jul 2016 09:56:01 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:35440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMbgk-0006Kd-7j for emacs-orgmode@gnu.org; Mon, 11 Jul 2016 09:55:58 -0400 Received: by mail-wm0-x22a.google.com with SMTP id f65so64311478wmi.0 for ; Mon, 11 Jul 2016 06:55:56 -0700 (PDT) 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: Ken Mankoff Cc: emacs-orgmode >>> "Ken" == Ken Mankoff writes: > I can't execute your code, Why not > but what does ":results output latex" show? > And what if you add the ";" to each line so it is not printed, except > the last, which is perhaps explicitly printed? You are right! Thanks. So I tried #+begin_src matlab :results output latex clear all syms e p R g w K K2; phi=[(e + (e+p)*R^2)^((g-1)/2);((e+p)*R*sqrt(1+R^2))/(e+(e+p)*R^2)]; jac=jacobian(phi,[e,p]); ltxjac=latex(jac) #+end_src Problem is when I export that to a latex file, the exporter always uses the verbatim environment, but this is not what I want, I want directly the result of ltxjac=latex(jac) interpreted as latex not as source code.