emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] workflow, matlab+latex in org file


From: Uwe Brauer
Subject: Re: [O] workflow, matlab+latex in org file
Date: Mon, 11 Jul 2016 13:55:53 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>>> "Ken" == Ken Mankoff <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]