diff options
author | Raúl Benencia <rul@kalgan.cc> | 2019-06-23 11:43:30 -0700 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2019-06-23 13:32:01 -0700 |
commit | 284c8327c95bb0c71b111ebf95723a35a478295c (patch) | |
tree | faea9db4b1bba00d73d33b2065ed102f88b76b2c /.emacs.local.d/modes/latex.el |
Add emacs config
Diffstat (limited to '.emacs.local.d/modes/latex.el')
-rw-r--r-- | .emacs.local.d/modes/latex.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.emacs.local.d/modes/latex.el b/.emacs.local.d/modes/latex.el new file mode 100644 index 0000000..de4de1f --- /dev/null +++ b/.emacs.local.d/modes/latex.el @@ -0,0 +1,9 @@ +(add-hook 'latex-mode-hook 'flyspell-mode) +(setq TeX-PDF-mode t) + +(defun pdfevince () + (add-to-list 'TeX-output-view-style + '("^pdf$" "." "evince %o %(outpage)"))) + +(add-hook 'LaTeX-mode-hook 'pdfevince t) ; AUCTeX LaTeX mode + |