emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "G. Jay Kerns" <gjkernsysu@gmail.com>
To: Ista Zahn <istazahn@gmail.com>, Rainer M Krug <Rainer@krugs.de>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>,
	brendan.halpin@ul.ie, Eric Schulte <schulte.eric@gmail.com>
Subject: Re: Enabling another language in org-babel
Date: Tue, 24 Jun 2014 16:13:13 -0400	[thread overview]
Message-ID: <53A9DBD9.6060807@gmail.com> (raw)
In-Reply-To: <CA+vqiLH_hcEraZAtjKiZSSSe_mFDuTmHV=uh88XRgQnAa51fqg@mail.gmail.com>

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 <Rainer@krugs.de> wrote:
>> Eric Schulte <schulte.eric@gmail.com> writes:
>>
>>> Brendan Halpin <brendan.halpin@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:      Rainer@krugs.de
>>
>> Skype:      RMkrug
>>
>> PGP: 0x0F52F982

  reply	other threads:[~2014-06-24 20:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-24  8:54 Enabling another language in org-babel Brendan Halpin
2014-06-24 11:02 ` Eric Schulte
2014-06-24 12:05   ` Rainer M Krug
2014-06-24 19:52     ` Ista Zahn
2014-06-24 20:13       ` G. Jay Kerns [this message]
2014-06-25  8:33       ` Bastien
2014-06-25 13:44         ` Ista Zahn
2014-07-28 13:20           ` Bastien
2014-07-28 21:29             ` Ista Zahn
2014-07-29 14:36               ` Bastien
2014-07-30 16:47                 ` Ista Zahn
2014-07-30 17:06                   ` Nick Dokos
2014-07-30 17:16                   ` Achim Gratz
2014-07-31  0:23                   ` Jay Kerns
2014-07-31 10:52                   ` Bastien
2014-07-31 11:06                     ` Ista Zahn
2015-01-31 19:42                   ` Esa Palosaari
2015-01-31 19:50                     ` Esa Palosaari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A9DBD9.6060807@gmail.com \
    --to=gjkernsysu@gmail.com \
    --cc=Rainer@krugs.de \
    --cc=brendan.halpin@ul.ie \
    --cc=emacs-orgmode@gnu.org \
    --cc=istazahn@gmail.com \
    --cc=schulte.eric@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).