Tell emacs how to parse tex files
This commit is contained in:
parent
9174b6c0e4
commit
581536396f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue