(doom) theme, use magit for org-mode pdf creation

This commit is contained in:
qvalentin 2021-12-19 14:56:16 +01:00
parent 748452a0f4
commit 6ce7df00d1
3 changed files with 15 additions and 2 deletions

View File

@ -25,7 +25,7 @@
;; There are two ways to load a theme. Both assume the theme is installed and ;; 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 ;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default: ;; `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, ;; 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! ;; change `org-directory'. It must be set before org loads!
@ -72,3 +72,14 @@
(map! :leader (map! :leader
:desc "Magit Push" :desc "Magit Push"
"g P" #'magit-push-current-to-pushremote) "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"))

View File

@ -6,7 +6,7 @@
'(ansi-color-names-vector '(ansi-color-names-vector
["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"]) ["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"])
'(custom-safe-themes '(custom-safe-themes
'("6c531d6c3dbc344045af7829a3a20a09929e6c41d7a7278963f7d3215139f6a7" default)) '("8a379e7ac3a57e64de672dd744d4730b3bdb88ae328e8106f95cd81cbd44e0b6" "6c531d6c3dbc344045af7829a3a20a09929e6c41d7a7278963f7d3215139f6a7" default))
'(exwm-floating-border-color "#504945") '(exwm-floating-border-color "#504945")
'(fci-rule-color "#7c6f64") '(fci-rule-color "#7c6f64")
'(highlight-tail-colors ((("#363627" "#363627") . 0) (("#323730" "#323730") . 20))) '(highlight-tail-colors ((("#363627" "#363627") . 0) (("#323730" "#323730") . 20)))

View File

@ -49,3 +49,5 @@
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t) ;(unpin! t)
(package! exec-path-from-shell) (package! exec-path-from-shell)
(package! ewal)
(package! ewal-doom-themes)