org: put all latex preview pngs in one easy to discard place

This commit is contained in:
Grigory Shipunov 2020-11-18 01:40:49 +01:00
parent f00da6fa56
commit c47959303c
No known key found for this signature in database
GPG key ID: 77BB6C3E4771EE7C
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View file

@ -11,3 +11,6 @@ straight
transient transient
games games
bookmarks bookmarks
org-roam.db
eln-cache
org-latex-preview

View file

@ -230,7 +230,8 @@
(python . t) (python . t)
(scheme . t))) (scheme . t)))
;; latex preview settings ;; latex preview settings
(add-to-list 'org-latex-packages-alist '("" "braket" t)) (add-to-list 'org-latex-packages-alist '("" "braket" t)) ; Dirac brakets
(setq org-preview-latex-image-directory "~/.emacs.d/org-latex-preview/") ; Hide all previews in one place
:config :config
;; abbrev expansion in org-mode ;; abbrev expansion in org-mode
(require 'org-tempo)) (require 'org-tempo))