2009-05-24 16:38:01 -04:00
|
|
|
;;; org-babel-init.el --- loads org-babel
|
2009-03-25 17:43:11 -04:00
|
|
|
|
2009-03-28 17:49:08 -04:00
|
|
|
;; Copyright (C) 2009 Eric Schulte
|
2009-03-25 17:43:11 -04:00
|
|
|
|
2009-03-28 17:49:08 -04:00
|
|
|
;; Author: Eric Schulte
|
2009-03-25 17:43:11 -04: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 16:38:01 -04:00
|
|
|
;; for more information see the comments in org-babel.el
|
2009-03-25 17:43:11 -04:00
|
|
|
|
|
|
|
;;; Code:
|
2009-06-27 14:58:00 -04:00
|
|
|
(require 'cl)
|
2009-03-25 17:43:11 -04:00
|
|
|
(require 'org)
|
2009-04-23 18:48:22 -04:00
|
|
|
(require 'org-exp-blocks)
|
2009-05-24 16:38:01 -04:00
|
|
|
(require 'org-babel)
|
|
|
|
(require 'org-babel-ref)
|
|
|
|
(require 'org-babel-exp)
|
|
|
|
(require 'org-babel-table)
|
2009-06-11 18:15:59 -04:00
|
|
|
(require 'org-babel-comint)
|
2009-06-13 18:49:24 -04:00
|
|
|
(require 'org-babel-lob)
|
2009-06-14 21:30:29 -04:00
|
|
|
(require 'org-babel-tangle)
|
|
|
|
|
2009-06-14 21:42:44 -04: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
|
2009-08-03 12:41:45 -04:00
|
|
|
(load (expand-file-name "inf-ruby.el" util-dir))
|
|
|
|
;; gnuplot mode
|
|
|
|
(load (expand-file-name "gnuplot.el"
|
|
|
|
(expand-file-name "gnuplot-mode.0.6.0" util-dir))))
|
2009-06-14 21:42:44 -04:00
|
|
|
|
2009-06-26 13:09:22 -04: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-16 20:23:19 -04:00
|
|
|
(require 'org-babel-ditaa)
|
2009-07-19 17:01:47 -04:00
|
|
|
(require 'org-babel-gnuplot)
|
2009-07-24 22:17:49 -04:00
|
|
|
(require 'org-babel-dot)
|
|
|
|
(require 'org-babel-asymptote)
|
2009-08-01 21:22:41 -04:00
|
|
|
(require 'org-babel-sql)
|
2009-08-04 14:43:06 -04:00
|
|
|
(require 'org-babel-css)
|
2009-06-26 13:09:22 -04:00
|
|
|
|
2009-08-02 13:36:54 -04: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 16:38:01 -04:00
|
|
|
(provide 'org-babel-init)
|
|
|
|
;;; org-babel-init.el ends here
|