org-babel-init.el 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 'cl)
  26. (require 'org)
  27. (require 'org-exp-blocks)
  28. (require 'org-babel)
  29. (require 'org-babel-ref)
  30. (require 'org-babel-exp)
  31. (require 'org-babel-table)
  32. (require 'org-babel-comint)
  33. (require 'org-babel-lob)
  34. (require 'org-babel-tangle)
  35. ;; load utility files
  36. (let ((util-dir (expand-file-name
  37. "util"
  38. (expand-file-name
  39. ".."
  40. (file-name-directory (or load-file-name buffer-file-name))))))
  41. ;; other versions of htmlize can cause export problems
  42. (load (expand-file-name "htmlize.el" util-dir))
  43. ;; the newest version of inf-ruby.el is required by org-babel-ruby.el
  44. (load (expand-file-name "inf-ruby.el" util-dir)))
  45. ;; language specific files
  46. (add-to-list 'load-path (expand-file-name "langs" (file-name-directory (or load-file-name buffer-file-name))))
  47. (require 'org-babel-ruby)
  48. (require 'org-babel-python)
  49. (require 'org-babel-sh)
  50. (require 'org-babel-lisp)
  51. (require 'org-babel-R)
  52. (provide 'org-babel-init)
  53. ;;; org-babel-init.el ends here