run external programs from tex
![](https://secure.gravatar.com/avatar/acc6b0588183256c162465e3dfcaa15b.jpg?s=120&d=mm&r=g)
Hi, I wonder what would be the best way to use programs inline like it is possible for metapost. Are there already macros to set this up easily? I would like to use gnuplot, so something like [start|stop]GNUPLOTgraphic would be fine. Has anybody tried this or something similar? -- Eckhart
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Eckhart Guthöhrlein wrote:
Hi,
I wonder what would be the best way to use programs inline like it is possible for metapost. Are there already macros to set this up easily? I would like to use gnuplot, so something like [start|stop]GNUPLOTgraphic would be fine. Has anybody tried this or something similar?
you can have a look at m-pstric Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Wed, 30 Mar 2005, Eckhart Guthöhrlein wrote:
I wonder what would be the best way to use programs inline like it is possible for metapost. Are there already macros to set this up easily?
Just a small example (can be put to the wiki): http://pmrb.free.fr/work/OS/ConTeXt/createFig/ If you use teTeX, you should verify, that shell_escape = t in texmf.cnf. Cheers, Peter -- http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/acc6b0588183256c162465e3dfcaa15b.jpg?s=120&d=mm&r=g)
Thanks for the tips, Hans and Peter. I can see that it is really easy to hack a quick and dirty working solution. But since many of my figures and my gnuplot input will have to be created by external programs anyway, I think I will better use a Makefile to ensure recreation as needed. Greetings, -- Eckhart
participants (3)
-
Eckhart Guthöhrlein
-
Hans Hagen
-
Peter Münster