From 284c8327c95bb0c71b111ebf95723a35a478295c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 23 Jun 2019 11:43:30 -0700 Subject: Add emacs config --- .emacs.local.d/modes/latex.el | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .emacs.local.d/modes/latex.el (limited to '.emacs.local.d/modes/latex.el') 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 + -- cgit v1.2.3