summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-01-07 11:50:33 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-01-07 11:50:33 +0000
commit2fea41d16b921e8210810b7a82acb6402e7a9089 (patch)
tree53ed690337361bd17dcb39b385917cf51ba1a73e
parent09a10dafec4020b8b4a95c4d4d4dd5c66c0a52e5 (diff)
Added org-edit-latex
-rw-r--r--custom-settings.el8
-rw-r--r--init.el4
2 files changed, 11 insertions, 1 deletions
diff --git a/custom-settings.el b/custom-settings.el
index 7697e13..88f914f 100644
--- a/custom-settings.el
+++ b/custom-settings.el
@@ -3,6 +3,12 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
+ '(TeX-after-compilation-finished-functions (quote TeX-revert-document-buffer) t)
+ '(TeX-auto-save t t)
+ '(TeX-master nil t)
+ '(TeX-parse-self t t)
+ '(TeX-view-program-list (quote (("pdf-tools" "TeX-pdf-tools-sync-view"))) t)
+ '(TeX-view-program-selection (quote ((output-pdf "pdf-tools"))) t)
'(ansi-color-faces-vector
[default default default italic underline success warning error])
'(ansi-color-names-vector
@@ -73,7 +79,7 @@
'(org-sort-agenda-notime-is-late nil)
'(package-selected-packages
(quote
- (auctex dired-x gotest company-irony beacon-mode python-pytest password-store csv-mode expand-region org-gcal lsp-python-ms ace-window discover-my-major popup-kill-ring amx gnu-elpa-keyring-update auto-package-update monokai-theme color-theme-monokai color-theme-sanityinc-tomorrow dracula-theme evil-mode yasnippet-snippets highlight-symbol rainbow-delimiters git-gutter Ivy org-caldav which-key-mode org-plus-contrib use-package ac-cider magit blacken py-autopep8 flycheck elpy yasnippet company-lsp company lsp-ui go-autocomplete lsp-mode go-mode markdown-mode gruvbox-theme helm org cider slime evil)))
+ (org-edit-latex auctex dired-x gotest company-irony beacon-mode python-pytest password-store csv-mode expand-region org-gcal lsp-python-ms ace-window discover-my-major popup-kill-ring amx gnu-elpa-keyring-update auto-package-update monokai-theme color-theme-monokai color-theme-sanityinc-tomorrow dracula-theme evil-mode yasnippet-snippets highlight-symbol rainbow-delimiters git-gutter Ivy org-caldav which-key-mode org-plus-contrib use-package ac-cider magit blacken py-autopep8 flycheck elpy yasnippet company-lsp company lsp-ui go-autocomplete lsp-mode go-mode markdown-mode gruvbox-theme helm org cider slime evil)))
'(pdf-view-midnight-colors (quote ("#fdf4c1" . "#282828")))
'(pos-tip-background-color "#36473A")
'(pos-tip-foreground-color "#FFFFC8")
diff --git a/init.el b/init.el
index c5bb39c..2b0d2ba 100644
--- a/init.el
+++ b/init.el
@@ -160,6 +160,10 @@
(when (version< emacs-version "26")
(add-hook LaTeX-mode-hook #'display-line-numbers-mode)))
+(use-package org-edit-latex
+ :defer t
+ :after org)
+
;; kill other buffers
(defun kill-other-buffers ()
"Kill all other buffers."