From 6ce7df00d1673a9249425fb2615cca648916d95b Mon Sep 17 00:00:00 2001 From: qvalentin Date: Sun, 19 Dec 2021 14:56:16 +0100 Subject: [PATCH] (doom) theme, use magit for org-mode pdf creation --- .doom.d/config.el | 13 ++++++++++++- .doom.d/custom.el | 2 +- .doom.d/packages.el | 2 ++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.doom.d/config.el b/.doom.d/config.el index ec4aa8f..116f594 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -25,7 +25,7 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-henna) +(setq doom-theme 'ewal-doom-one) ;; If you use `org' and don't want your org files in the default location below, ;; change `org-directory'. It must be set before org loads! @@ -72,3 +72,14 @@ (map! :leader :desc "Magit Push" "g P" #'magit-push-current-to-pushremote) + + +(require 'ox-latex) +(add-to-list 'org-latex-packages-alist '("" "minted")) +(add-to-list 'org-latex-packages-alist '("" "listingsutf8")) +(setq org-latex-listings 'minted) + +(setq org-latex-pdf-process + '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" + "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" + "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f")) diff --git a/.doom.d/custom.el b/.doom.d/custom.el index be9d5fe..549ce38 100644 --- a/.doom.d/custom.el +++ b/.doom.d/custom.el @@ -6,7 +6,7 @@ '(ansi-color-names-vector ["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"]) '(custom-safe-themes - '("6c531d6c3dbc344045af7829a3a20a09929e6c41d7a7278963f7d3215139f6a7" default)) + '("8a379e7ac3a57e64de672dd744d4730b3bdb88ae328e8106f95cd81cbd44e0b6" "6c531d6c3dbc344045af7829a3a20a09929e6c41d7a7278963f7d3215139f6a7" default)) '(exwm-floating-border-color "#504945") '(fci-rule-color "#7c6f64") '(highlight-tail-colors ((("#363627" "#363627") . 0) (("#323730" "#323730") . 20))) diff --git a/.doom.d/packages.el b/.doom.d/packages.el index 3892a08..d903532 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -49,3 +49,5 @@ ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;(unpin! t) (package! exec-path-from-shell) +(package! ewal) +(package! ewal-doom-themes)