From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: org-article setup Date: Tue, 16 Nov 2010 14:24:34 -1000 Message-ID: <352384D9-F381-4C5E-9B3D-2C43439CEF95@tsdye.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0803064112==" Return-path: Received: from [140.186.70.92] (port=46451 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIVpL-0004Fa-B8 for emacs-orgmode@gnu.org; Tue, 16 Nov 2010 19:24:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIVpJ-0004YT-OL for emacs-orgmode@gnu.org; Tue, 16 Nov 2010 19:24:43 -0500 Received: from oproxy2-pub.bluehost.com ([67.222.39.60]:35949) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PIVpJ-0004Xw-Dt for emacs-orgmode@gnu.org; Tue, 16 Nov 2010 19:24:41 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: mariomu@ieee.org Cc: emacs-orgmode@gnu.org --===============0803064112== Content-Type: multipart/alternative; boundary=Apple-Mail-6-261146135 --Apple-Mail-6-261146135 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Nov 16, 2010, at 1:46 PM, Mario E. Munich wrote: > Dear all, > > I am trying to use the org-article class created by Tomas Dye. As > you might guess, I am having some trouble and thus the email. I am > using emacs 23.1.1 on Ubuntu 10.10 and org-mode verision TAG=7.3. > > I have followed the instructions on worg: > > http://orgmode.org/worg/org-contrib/babel/examples/article-class.php > > up to the point in which I need to tangle the org document. > > If I try to run the tangle command: M-x org-babel-tangle RET, I get > the following error: No org-bable-execute function for python! > > I think that the problem is that I do not have any setup for Babel > in my .emacs, so I went to look for the standard Babel setup in the > org manual and in worg. > > - In the org Manual, I see chapter 14 devoted to Babel, but I do not > see any information on how to set it up in my .emacs (maybe it is > enabled by default since Babel is included in org, but I am not sure). > > - In worg, there is a page for Babel: http://orgmode.org/worg/org-contrib/babel/index.php > and a corresponding Introductory Tutorial. In this page, there is a > section called Initial Configuration in which there is a mention of > a "five-step process", but the corresponding list of steps only have > 3 items. > > I would appreciate if somebody could guide me towards a simple Babel > configuration that would help me tangle the org-article.org document. > > Thanks a lot for all the help! > > -Mario Aloha Mario, Yes, it sounds like Babel isn't configured yet. Here is what I use: #+begin_src emacs-lisp :tangle yes (org-babel-do-load-languages 'org-babel-load-languages '((R . t) (C . t) (ditaa . t) (dot . t) (emacs-lisp . t) (gnuplot . nil) (haskell . nil) (latex . t) (ocaml . nil) (org . t) (perl . t) (python . t) (ruby . t) (screen . nil) (sh . t) (sql . nil) (sqlite . t))) #+end_src You can adjust it to your needs by changing t and nil appropriately. hth, Tom --Apple-Mail-6-261146135 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Nov 16, 2010, at = 1:46 PM, Mario E. Munich wrote:

Dear = all,

I am trying to use the org-article class created by Tomas = Dye. As you might guess, I am having some trouble and thus the email. I = am using emacs 23.1.1 on Ubuntu 10.10 and org-mode verision = TAG=3D7.3.

I have followed the instructions on worg:

http://orgmode.org/worg/org-contrib/babel/examples/article-class.php

up to the point in which I need to tangle the org document. =

If I try to run the tangle command: M-x org-babel-tangle = RET, I get the following error: No org-bable-execute function for = python!

I think that  the problem is that I do not = have any setup for Babel in my .emacs, so I went to look for the = standard Babel setup in the org manual and in worg.

- In the org = Manual, I see chapter 14 devoted to Babel, but I do not see any = information on how to set it up in my .emacs (maybe it is enabled by = default since Babel is included in org, but I am not sure).

- In = worg, there is a page for Babel:
http://orgmod= e.org/worg/org-contrib/babel/index.php and a corresponding = Introductory Tutorial. In this page, there is a section called Initial = Configuration in which there is a mention of a "five-step process", but = the corresponding list of steps only have 3 items.

I would = appreciate if somebody could guide me towards a simple Babel = configuration that would help me tangle the org-article.org = document.

Thanks a lot for all the help!

-Mario =

Aloha = Mario,

Yes, it sounds like Babel isn't = configured yet.  Here is what I = use:

#+begin_src emacs-lisp :tangle = yes
  (org-babel-do-load-languages
 &nb= sp; 'org-babel-load-languages
   '((R . = t)
     (C . t)
     = (ditaa . t)
     (dot . = t)
     (emacs-lisp . t)
   =   (gnuplot . nil)
     (haskell . = nil)
     (latex . t)
   =   (ocaml . nil)
     (org . = t)
     (perl . t)
   =   (python . t)
     (ruby . = t)
     (screen . nil)
   =   (sh . t)
     (sql . = nil)
     (sqlite . = t)))
#+end_src

You can adjust it to = your needs by changing t and nil = appropriately.

hth,
Tom
= --Apple-Mail-6-261146135-- --===============0803064112== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0803064112==--