Great work, Ista! Cheers, Jay
-- G. Jay Kerns, Ph.D. Youngstown State University http://gkerns.people.ysu.edu/ On 06/24/14 15:52, Ista Zahn wrote: > I just hacked up a rudimentary ob-stata.el by replacing "julia" with > "stata" in ob-julia.el by G. Jay Kerns (and making a few other minor > tweaks). Only ":results output" works (no graphics, no :results > value). In short it's in pretty rough shape, but it does work for some > basic things. Perhaps someone with better emacs-lisp can polish it up. > The code is available at > https://gist.github.com/izahn/5745dcf6dd07a6b05084 > > Best, > Ista > > On Tue, Jun 24, 2014 at 8:05 AM, Rainer M Krug <rai...@krugs.de> wrote: >> Eric Schulte <schulte.e...@gmail.com> writes: >> >>> Brendan Halpin <brendan.hal...@ul.ie> writes: >>> >>>> Does there exist any documentation on extending org-babel to another >>>> language? >>>> >>> >>> Hi Brendan, >>> >>> There is a template [1] which may be filled out to add support for a new >>> language. More generally simply defining a function named >>> `org-babel-execute:foo' will cause babel to try to execute foo code >>> blocks using that function. See the template for existing >>> `org-babel-execute:*' functions. >>> >>>> >>>> Relatedly, is anyone working on adding Stata coverage to org-babel? >>>> >>> >>> I'm not but who knows. If you do add support for Stata please consider >>> contributing it to Org-mode (see [2]). >> >> stata should be not to difficult to add, as ESS supports stata and I >> would guess that most functions would be the same (or very similar) >> >> Cheers, >> >> Rainer >> >>> >>> Best, >>> Eric >>> >>>> >>>> >>>> Regards, >>>> >>>> Brendan >>> >>> >>> Footnotes: >>> [1] >>> http://orgmode.org/w/worg.git/blob/HEAD:/org-contrib/babel/ob-template.el >>> >>> [2] http://orgmode.org/worg/org-contribute.html >> >> -- >> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, >> UCT), Dipl. Phys. (Germany) >> >> Centre of Excellence for Invasion Biology >> Stellenbosch University >> South Africa >> >> Tel : +33 - (0)9 53 10 27 44 >> Cell: +33 - (0)6 85 62 59 98 >> Fax : +33 - (0)9 58 10 27 44 >> >> Fax (D): +49 - (0)3 21 21 25 22 44 >> >> email: rai...@krugs.de >> >> Skype: RMkrug >> >> PGP: 0x0F52F982