all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* workflow, matlab+latex in org file
@ 2016-07-11 12:32 Uwe Brauer
  2016-07-11 14:05 ` John Kitchin
  0 siblings, 1 reply; 29+ messages in thread
From: Uwe Brauer @ 2016-07-11 12:32 UTC (permalink / raw)
  To: emacs-orgmode

Hello

I want in a org file, to include matlab code and run it (that I know how
to do)

Then I want certain results, which are symbolic variables, expressed in
latex, we I achieve  using matlab's latex command.

Like
#+begin_src matlab :results output
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


This result should of course also be included in the orgfile.

But then I want to export the org file to latex, such that only the
results, which have been converted to latex are exported and all the
matlab command should be ignored, that is in that case:
ltxjac but nicely surrounded by say $.

Anybody has an idea how to do this efficiently?

thanks

regards



Uwe Brauer 

^ permalink raw reply	[flat|nested] 29+ messages in thread
[parent not found: <m2eg709w4s.fsf@gmail.com>]
[parent not found: <c0b96d809e4b41529f81beaa685a9fd0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>]

end of thread, other threads:[~2017-10-20 11:54 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-11 12:32 workflow, matlab+latex in org file Uwe Brauer
2016-07-11 14:05 ` John Kitchin
2016-07-11 14:11   ` Uwe Brauer
2016-07-11 15:55     ` John Kitchin
2016-07-11 16:12       ` Uwe Brauer
2017-03-10 16:08       ` Uwe Brauer
2017-03-10 17:51         ` Scott Randby
2017-03-10 21:15           ` Uwe Brauer
2017-03-10 21:56             ` John Kitchin
2017-03-10 22:50               ` Uwe Brauer
2017-03-10 23:17                 ` SOLVED (was: workflow, matlab+latex in org file) Uwe Brauer
2017-03-11 23:50             ` workflow, matlab+latex in org file Scott Randby
     [not found]       ` <5e1e71e3698e415ca51a0b9e3cab5dac@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-10 18:03         ` Eric S Fraga
2017-03-10 21:18           ` Uwe Brauer
2017-03-11  8:04           ` Uwe Brauer
2017-03-11 13:23             ` John Kitchin
2017-03-11 14:16               ` Uwe Brauer
2017-03-11 14:22                 ` John Kitchin
2017-03-11 14:54                   ` Uwe Brauer
2017-03-11 16:50                   ` Uwe Brauer
2017-03-11 16:53                     ` John Kitchin
2017-03-12 15:24                       ` matlab-shell-run-command (was: workflow, matlab+latex in org file) Uwe Brauer
2017-10-20 11:03               ` workflow, matlab+latex in org file Uwe Brauer
2017-10-20 11:54                 ` Uwe Brauer
     [not found]           ` <cf7ef1dfa1cf455bbaf63ab5fbdf18e5@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-11 10:37             ` Eric S Fraga
2017-03-11 14:12               ` Uwe Brauer
     [not found] <m2eg709w4s.fsf@gmail.com>
2016-07-11 13:55 ` Uwe Brauer
     [not found] <c0b96d809e4b41529f81beaa685a9fd0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-07-11 16:42 ` Eric S Fraga
2016-07-12 12:44   ` Uwe Brauer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.