Set up org-ref and eisvogel export

This commit is contained in:
2020-04-02 01:42:51 +02:00
parent 2d7412685c
commit 896a13b2cd
5 changed files with 30 additions and 5 deletions

13
+org.el
View File

@@ -25,16 +25,23 @@
(:name "Due soon"
:deadline future)))
:config
(org-super-agenda-mode)
)
(org-super-agenda-mode))
;; Show inline images by default
(setq org-startup-with-inline-images t)
;; Add timestamp to DONE task
(setq org-log-done 'time)
;; Print babel results to the buffer
(setq org-babel-default-header-args '((:session . "none") (:results . "output") (:exports . "code")
(setq org-babel-default-header-args '((:session . "none") (:results . "output") (:exports . "both")
(:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no")))
;; Enter writeroom-mode in all org files
(add-hook 'org-mode-hook 'global-writeroom-mode)
;; Respect LANGUAGE export variable
(add-to-list 'org-latex-packages-alist '("AUTO" "babel" t ("pdflatex")))
;; Don't evaluate code blocks on export
(setq org-export-use-babel nil)
;; Configure org-ref
(use-package! org-ref
:after org
:init
(setq org-ref-default-bibliography '("~/Documents/Education/Other/References.bib"))
:config)