diff options
Diffstat (limited to 'lisp/ravi-init-org.el')
| -rw-r--r-- | lisp/ravi-init-org.el | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/lisp/ravi-init-org.el b/lisp/ravi-init-org.el new file mode 100644 index 0000000..523f564 --- /dev/null +++ b/lisp/ravi-init-org.el @@ -0,0 +1,62 @@ +;;; ravi-init-org.el --- org initialization + +;; Copyright (C) 2014 + +;; Author: <ravi@nero> +;; Keywords: + +;; 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 of the License, 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 this program. If not, see <http://www.gnu.org/licenses/>. + +;;; Commentary: + +;; Org mode initialization + +;;; Code: + +(use-package org + :ensure org-plus-contrib + :mode ("\\.org\\'" . org-mode) + + ;; The following lines are always needed. Choose your own keys. + :bind (("C-c l" . org-store-link) + ("H--" . org-agenda)) + :config + (progn + (use-package htmlize :ensure t) + (use-package ox-reveal + :config + (progn + (setq org-reveal-slide-number nil) + (setq org-reveal-theme "night") + (setq org-reveal-transition "linear") + (setq org-reveal-mathjax t) + (setq org-reveal-mathjax-url "./MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML")) + :ensure t) + (use-package ox-rst :ensure t) + (use-package ox-impress-js :ensure t) + + (setq org-src-fontify-natively t) + (setq org-modules (quote (org-bbdb + org-bibtex + org-crypt + org-gnus + org-id + org-info))) + (setq org-use-speed-commands t) + ) + ) + +(provide 'ravi-init-org) +;;; ravi-init-org.el ends here + |
