Set up org-ref and eisvogel export

This commit is contained in:
coolneng 2020-04-02 01:42:51 +02:00
parent 2d7412685c
commit 896a13b2cd
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
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)

1
+ui.el
View File

@ -14,3 +14,4 @@
(setq doom-modeline-major-mode-icon t
doom-modeline-persp-name t
doom-modeline-buffer-encoding nil)
(setq evil-command-window-height 3)

View File

@ -13,7 +13,7 @@
auto-save-list-file-prefix
(concat "~/.cache/emacs"))
;; Set Magit repositories
(setq magit-repository-directories '(("~/Projects" . 2)
(setq magit-repository-directories '(("~/Projects" . 3)
("~/.dotfiles" . 0)
("~/.doom.d" . 0)))
;; Load org configuration

View File

@ -6,4 +6,4 @@
;; (package! another-package :recipe (:host github :repo "username/repo"))
;; (package! builtin-package :disable t)
(package! org-super-agenda)
(package! pandoc-mode)
(package! org-ref)

View File

@ -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