org-babel-init.el 2.0 KB

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