aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-10 00:21:44 +0200
committerAdrian Kummerlaender2020-06-10 00:21:44 +0200
commit0d07c0f045f6af59b2c929a7da95dfad48337a96 (patch)
treedf79cac844a58faca74e5233a382f62311776078 /gui
parent3d262f89e04a76a78667a4fc692ae71e540b7566 (diff)
downloadnixos_home-0d07c0f045f6af59b2c929a7da95dfad48337a96.tar
nixos_home-0d07c0f045f6af59b2c929a7da95dfad48337a96.tar.gz
nixos_home-0d07c0f045f6af59b2c929a7da95dfad48337a96.tar.bz2
nixos_home-0d07c0f045f6af59b2c929a7da95dfad48337a96.tar.lz
nixos_home-0d07c0f045f6af59b2c929a7da95dfad48337a96.tar.xz
nixos_home-0d07c0f045f6af59b2c929a7da95dfad48337a96.tar.zst
nixos_home-0d07c0f045f6af59b2c929a7da95dfad48337a96.zip
Set central folder for Orgmode LaTeX preview images
This way the note folders are not polluted.
Diffstat (limited to 'gui')
-rw-r--r--gui/conf/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index a88f253..0dc1be2 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -94,6 +94,7 @@
(add-hook 'org-mode-hook 'visual-line-mode)
+(setq org-latex-preview-ltxpng-directory "~/.emacs.d/ltxpng/")
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
(evil-leader/set-key
"p" 'org-latex-preview)