2009-05-24 20:38:01 +00:00
|
|
|
;;; org-babel-init.el --- loads org-babel
|
2009-03-25 21:43:11 +00:00
|
|
|
|
2009-03-28 21:49:08 +00:00
|
|
|
;; Copyright (C) 2009 Eric Schulte
|
2009-03-25 21:43:11 +00:00
|
|
|
|
2009-03-28 21:49:08 +00:00
|
|
|
;; Author: Eric Schulte
|
2009-03-25 21:43:11 +00:00
|
|
|
;; Keywords: literate programming, reproducible research
|
|
|
|
;; Homepage: http://orgmode.org
|
|
|
|
;; Version: 0.01
|
|
|
|
|
|
|
|
;;; License:
|
|
|
|
|
|
|
|
;; This program is free software; you can redistribute it and/or modify
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
|
|
|
;; the Free Software Foundation; either version 3, or (at your option)
|
|
|
|
;; any later version.
|
|
|
|
;;
|
|
|
|
;; This program is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
;;
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
|
|
|
;; along with GNU Emacs; see the file COPYING. If not, write to the
|
|
|
|
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
;; Boston, MA 02110-1301, USA.
|
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
2009-05-24 20:38:01 +00:00
|
|
|
;; for more information see the comments in org-babel.el
|
2009-03-25 21:43:11 +00:00
|
|
|
|
|
|
|
;;; Code:
|
2009-06-27 18:58:00 +00:00
|
|
|
(require 'cl)
|
2009-03-25 21:43:11 +00:00
|
|
|
(require 'org)
|
2009-04-23 22:48:22 +00:00
|
|
|
(require 'org-exp-blocks)
|
2009-05-24 20:38:01 +00:00
|
|
|
(require 'org-babel)
|
|
|
|
(require 'org-babel-ref)
|
|
|
|
(require 'org-babel-exp)
|
|
|
|
(require 'org-babel-table)
|
2009-06-11 22:15:59 +00:00
|
|
|
(require 'org-babel-comint)
|
2009-06-13 22:49:24 +00:00
|
|
|
(require 'org-babel-lob)
|
2009-06-15 01:30:29 +00:00
|
|
|
(require 'org-babel-tangle)
|
|
|
|
|
2009-06-15 01:42:44 +00:00
|
|
|
;; load utility files
|
|
|
|
(let ((util-dir (expand-file-name
|
|
|
|
"util"
|
|
|
|
(expand-file-name
|
|
|
|
".."
|
|
|
|
(file-name-directory (or load-file-name buffer-file-name))))))
|
|
|
|
;; other versions of htmlize can cause export problems
|
|
|
|
(load (expand-file-name "htmlize.el" util-dir))
|
|
|
|
;; the newest version of inf-ruby.el is required by org-babel-ruby.el
|
|
|
|
(load (expand-file-name "inf-ruby.el" util-dir)))
|
|
|
|
|
2009-06-26 17:09:22 +00:00
|
|
|
;; language specific files
|
|
|
|
(add-to-list 'load-path (expand-file-name "langs" (file-name-directory (or load-file-name buffer-file-name))))
|
|
|
|
(require 'org-babel-ruby)
|
|
|
|
(require 'org-babel-python)
|
|
|
|
(require 'org-babel-sh)
|
|
|
|
(require 'org-babel-lisp)
|
|
|
|
(require 'org-babel-R)
|
2009-07-17 00:23:19 +00:00
|
|
|
(require 'org-babel-ditaa)
|
2009-07-19 21:01:47 +00:00
|
|
|
(require 'org-babel-gnuplot)
|
2009-07-25 02:17:49 +00:00
|
|
|
(require 'org-babel-dot)
|
|
|
|
(require 'org-babel-asymptote)
|
2009-08-02 01:22:41 +00:00
|
|
|
(require 'org-babel-sql)
|
2009-06-26 17:09:22 +00:00
|
|
|
|
2009-08-02 17:36:54 +00:00
|
|
|
;; load the library of babel
|
|
|
|
(org-babel-lob-ingest (expand-file-name
|
|
|
|
"library-of-babel.org"
|
|
|
|
(expand-file-name ".."
|
|
|
|
(file-name-directory (or load-file-name buffer-file-name)))))
|
|
|
|
|
2009-05-24 20:38:01 +00:00
|
|
|
(provide 'org-babel-init)
|
|
|
|
;;; org-babel-init.el ends here
|