-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
36 lines (26 loc) · 807 Bytes
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
(require 'org)
(require 'ox)
(require 'ox-latex)
(require 'ox-beamer)
(require 'package)
(setq package-user-dir
(expand-file-name ".emacs.d/elpa"))
(package-initialize)
(setq package-archives
'(("melpa" . "http://melpa.milkbox.net/packages/")
("gnu" . "http://elpa.gnu.org/packages/")))
; (package-refresh-contents)
(defconst my-packages
'(haskell-mode))
(dolist (package my-packages)
(unless (package-installed-p package)
(package-install package)))
(add-to-list 'org-latex-packages-alist '("" "minted"))
(setq org-latex-listings 'minted)
(setq org-latex-minted-options
'(("fontsize" "\\scriptsize") ("frame" "lines")))
(setq org-confirm-babel-evaluate nil)
(org-babel-do-load-languages
'org-babel-load-languages
'((dot . t) (emacs-lisp . t) (haskell . t))
)