Tell emacs how to parse tex files

This commit is contained in:
Patrick Elliott 2018-07-18 14:04:23 +02:00
parent 9174b6c0e4
commit 581536396f

View file

@ -36,6 +36,9 @@
(setq-default TeX-master nil) (setq-default TeX-master nil)
;; set-up chktex ;; set-up chktex
(setcar (cdr (assoc "Check" TeX-command-list)) "chktex -v6 -H %s") (setcar (cdr (assoc "Check" TeX-command-list)) "chktex -v6 -H %s")
;; tell emacs how to parse tex files
(add-hook! 'tex-mode-hook
(lambda () (setq ispell-parser 'tex)))
;; display output of latex commands in popup ;; display output of latex commands in popup
(set-popup-rule! " output\\*$" :size 15) (set-popup-rule! " output\\*$" :size 15)
;; Do not prompt for Master files, this allows auto-insert to add templates to ;; Do not prompt for Master files, this allows auto-insert to add templates to