From: "Thomas S. Dye" <firstname.lastname@example.org> To: email@example.com Cc: firstname.lastname@example.org Subject: Re: org-article setup Date: Tue, 16 Nov 2010 14:24:34 -1000 [thread overview] Message-ID: <352384D9-F381-4C5E-9B3D-2C43439CEF95@tsdye.com> (raw) In-Reply-To: <AANLkTi=o08su=HbPnUf9GGkvVy-wvTPNr3Rtp58kLtO4@mail.gmail.com> [-- Attachment #1.1: Type: text/plain, Size: 2087 bytes --] 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 [-- Attachment #1.2: Type: text/html, Size: 3090 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacsemail@example.com http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-11-17 0:24 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-16 23:46 Mario E. Munich 2010-11-17 0:24 ` Thomas S. Dye [this message] 2010-11-17 5:11 ` John Hendy 2010-11-17 5:37 ` Thomas S. Dye 2010-11-17 6:58 ` Thomas S. Dye 2010-11-17 21:07 ` John Hendy 2010-11-17 21:40 ` Thomas S. Dye [not found] ` <AANLkTinOZrEUS4RxsMKUW7Jy+4s+Tjh9i+iANiUBpvsz@mail.gmail.com> 2010-11-17 22:47 ` Thomas S. Dye 2010-11-17 23:07 ` John Hendy 2010-11-22 8:09 ` Mario E. Munich 2010-11-22 17:04 ` Thomas S. Dye 2010-11-17 7:18 ` Thomas S. Dye
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=352384D9-F381-4C5E-9B3D-2C43439CEF95@tsdye.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --subject='Re: org-article setup' \ /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
Code repositories for project(s) associated with this 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).