expanded/improved preface in org-babel.org
[org-mode.git] / lisp / org-babel-init.el
blob2c834af8d79bd0961c4aee893c5f908e57665aa6
1 ;;; org-babel-init.el --- loads org-babel
3 ;; Copyright (C) 2009 Eric Schulte
5 ;; Author: Eric Schulte
6 ;; Keywords: literate programming, reproducible research
7 ;; Homepage: http://orgmode.org
8 ;; Version: 0.01
10 ;;; License:
12 ;; This program is free software; you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation; either version 3, or (at your option)
15 ;; any later version.
17 ;; This program is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;; GNU General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 ;; Boston, MA 02110-1301, USA.
27 ;;; Commentary:
29 ;; for more information see the comments in org-babel.el
31 ;;; Code:
32 (require 'org)
33 (require 'org-exp-blocks)
34 (require 'org-babel)
35 (require 'org-babel-ref)
36 (require 'org-babel-exp)
37 (require 'org-babel-table)
38 (require 'org-babel-comint)
39 (require 'org-babel-lob)
40 (require 'org-babel-tangle)
42 ;; language specific files
43 (add-to-list 'load-path (expand-file-name "langs" (file-name-directory (or load-file-name buffer-file-name))))
44 (require 'org-babel-ruby)
45 (require 'org-babel-python)
46 (require 'org-babel-sh)
47 (require 'org-babel-lisp)
48 (require 'org-babel-R)
50 ;; load utility files
51 (let ((util-dir (expand-file-name
52 "util"
53 (expand-file-name
54 ".."
55 (file-name-directory (or load-file-name buffer-file-name))))))
56 ;; other versions of htmlize can cause export problems
57 (load (expand-file-name "htmlize.el" util-dir))
58 ;; the newest version of inf-ruby.el is required by org-babel-ruby.el
59 (load (expand-file-name "inf-ruby.el" util-dir)))
61 (provide 'org-babel-init)
62 ;;; org-babel-init.el ends here