aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/latex.el
blob: de4de1f079dd9a55b5c9e511a79cceda13ff6316 (plain)
1
2
3
4
5
6
7
8
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
nihil fit ex nihilo