Skip to content
Snippets Groups Projects
Commit b61c31f0 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Modifie la configuration d'org-mode pour de meilleures sorties pdf

Les listing sont maintenant coloriés en fonction du langage de
programmation.
parent 64257927
No related branches found
No related tags found
No related merge requests found
...@@ -108,10 +108,14 @@ Org bullets makes things look pretty ...@@ -108,10 +108,14 @@ Org bullets makes things look pretty
:pin org) :pin org)
(setenv "BROWSER" "firefox") (setenv "BROWSER" "firefox")
(use-package org-bullets (use-package org-bullets
:ensure t :ensure t
:config :config
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))) (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
(add-to-list 'org-latex-packages-alist '("" "listingsutf8"))
(add-to-list 'org-latex-packages-alist '("" "minted")))
(custom-set-variables (custom-set-variables
'(org-default-notes-file (concat org-directory "/notes.org")) '(org-default-notes-file (concat org-directory "/notes.org"))
'(org-export-html-postamble nil) '(org-export-html-postamble nil)
...@@ -120,7 +124,7 @@ Org bullets makes things look pretty ...@@ -120,7 +124,7 @@ Org bullets makes things look pretty
'(org-startup-indented t) '(org-startup-indented t)
'(org-confirm-babel-evaluate nil) '(org-confirm-babel-evaluate nil)
'(org-src-fontify-natively t) '(org-src-fontify-natively t)
) '(org-latex-listings 'minted))
(setq org-file-apps (setq org-file-apps
(append '( (append '(
...@@ -145,7 +149,8 @@ Org bullets makes things look pretty ...@@ -145,7 +149,8 @@ Org bullets makes things look pretty
(noflet ((switch-to-buffer-other-window (buf) (switch-to-buffer buf))) (noflet ((switch-to-buffer-other-window (buf) (switch-to-buffer buf)))
(org-capture))) (org-capture)))
(define-key org-mode-map (kbd "C-c >") (lambda () (interactive (org-time-stamp-inactive)))) (define-key org-mode-map (kbd "C-c >")
(lambda () (interactive (org-time-stamp-inactive))))
(use-package htmlize :ensure t) (use-package htmlize :ensure t)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment