Set up org-ref and eisvogel export
This commit is contained in:
parent
2d7412685c
commit
896a13b2cd
13
+org.el
13
+org.el
|
@ -25,16 +25,23 @@
|
||||||
(:name "Due soon"
|
(:name "Due soon"
|
||||||
:deadline future)))
|
:deadline future)))
|
||||||
:config
|
:config
|
||||||
(org-super-agenda-mode)
|
(org-super-agenda-mode))
|
||||||
)
|
|
||||||
;; Show inline images by default
|
;; Show inline images by default
|
||||||
(setq org-startup-with-inline-images t)
|
(setq org-startup-with-inline-images t)
|
||||||
;; Add timestamp to DONE task
|
;; Add timestamp to DONE task
|
||||||
(setq org-log-done 'time)
|
(setq org-log-done 'time)
|
||||||
;; Print babel results to the buffer
|
;; 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")))
|
(:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no")))
|
||||||
;; Enter writeroom-mode in all org files
|
;; Enter writeroom-mode in all org files
|
||||||
(add-hook 'org-mode-hook 'global-writeroom-mode)
|
(add-hook 'org-mode-hook 'global-writeroom-mode)
|
||||||
;; Respect LANGUAGE export variable
|
;; Respect LANGUAGE export variable
|
||||||
(add-to-list 'org-latex-packages-alist '("AUTO" "babel" t ("pdflatex")))
|
(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)
|
||||||
|
|
1
+ui.el
1
+ui.el
|
@ -14,3 +14,4 @@
|
||||||
(setq doom-modeline-major-mode-icon t
|
(setq doom-modeline-major-mode-icon t
|
||||||
doom-modeline-persp-name t
|
doom-modeline-persp-name t
|
||||||
doom-modeline-buffer-encoding nil)
|
doom-modeline-buffer-encoding nil)
|
||||||
|
(setq evil-command-window-height 3)
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
auto-save-list-file-prefix
|
auto-save-list-file-prefix
|
||||||
(concat "~/.cache/emacs"))
|
(concat "~/.cache/emacs"))
|
||||||
;; Set Magit repositories
|
;; Set Magit repositories
|
||||||
(setq magit-repository-directories '(("~/Projects" . 2)
|
(setq magit-repository-directories '(("~/Projects" . 3)
|
||||||
("~/.dotfiles" . 0)
|
("~/.dotfiles" . 0)
|
||||||
("~/.doom.d" . 0)))
|
("~/.doom.d" . 0)))
|
||||||
;; Load org configuration
|
;; Load org configuration
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
;; (package! another-package :recipe (:host github :repo "username/repo"))
|
;; (package! another-package :recipe (:host github :repo "username/repo"))
|
||||||
;; (package! builtin-package :disable t)
|
;; (package! builtin-package :disable t)
|
||||||
(package! org-super-agenda)
|
(package! org-super-agenda)
|
||||||
(package! pandoc-mode)
|
(package! org-ref)
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: eisvogel template metadata
|
||||||
|
# key: eis
|
||||||
|
# --
|
||||||
|
#+TITLE: $0
|
||||||
|
#+SUBTITLE:
|
||||||
|
#+AUTHOR: Amin Kasrou Aouam
|
||||||
|
#+DATE: `(format-time-string "%Y-%m-%d")`
|
||||||
|
#+LANGUAGE: es
|
||||||
|
#+PANDOC_OPTIONS: template:~/.pandoc/templates/eisvogel.latex
|
||||||
|
#+PANDOC_OPTIONS: listings:t
|
||||||
|
#+PANDOC_OPTIONS: toc:t
|
||||||
|
#+PANDOC_METADATA: titlepage:t
|
||||||
|
#+PANDOC_METADATA: listings-no-page-break:t
|
||||||
|
#+PANDOC_METADATA: toc-own-page:t
|
||||||
|
#+PANDOC_METADATA: table-use-row-colors:t
|
||||||
|
#+PANDOC_METADATA: logo:/home/coolneng/Photos/Logos/UGR.png
|
Loading…
Reference in New Issue