From 14f2d2abdb342b294bb3a2e8ff72f3cffe184f20 Mon Sep 17 00:00:00 2001 From: David Florness Date: Thu, 5 Apr 2018 16:46:04 -0600 Subject: [PATCH] Setup org-mode exporting --- init.el | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 6a50f00..f0b435d 100644 --- a/init.el +++ b/init.el @@ -99,13 +99,33 @@ (package-install 'org-plus-contrib)) (setq org-default-notes-file "~/notes.org" org-return-follows-link t - org-read-date-force-compatible-dates nil)) + org-read-date-force-compatible-dates nil) + (setq org-src-fontify-natively t + org-src-tab-acts-natively t) + (setq org-latex-pdf-process + '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" + "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" + "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f")) + (use-package htmlize :ensure t)) :bind (("C-c a" . org-agenda) ("C-c c" . org-capture) ("C-c b" . org-iswitchb) ("C-c l" . org-store-link) - ("C-c o" . org-open-at-point-global))) + ("C-c o" . org-open-at-point-global)) + :config + (progn + (require 'ox-md) + (require 'ox-beamer) + ;; (add-to-list 'org-latex-packages-alist '("" "minted")) + ;; (setq org-latex-listings 'minted) + (org-babel-do-load-languages + 'org-babel-load-languages + '((emacs-lisp . t) + (python . t) + (dot . t) + (org . t) + (gnuplot . t))))) ;;; UTF-8 bullets for org-mode (use-package org-bullets -- 2.38.4