Adding .tikz to be parsed as .tex files

This commit is contained in:
eeva 2016-03-30 22:58:39 +02:00
parent 9a06c367a8
commit 9539bea297
1 changed files with 7 additions and 0 deletions

View File

@ -255,6 +255,12 @@ before packages are loaded. If you are unsure, you should try in setting them in
monokai monokai
monochrome monochrome
)) ))
;; Use auctex with .tikz files too
(setq auto-mode-alist
(append
'(("\\.tikz\\'" . latex-mode))
auto-mode-alist))
) )
(defun dotspacemacs/user-config () (defun dotspacemacs/user-config ()
@ -281,6 +287,7 @@ you should place you code here."
;; Tex viewers ;; Tex viewers
(setq TeX-view-program-list '(("Zathura" "zathura-sync %n:1:%b %o"))) (setq TeX-view-program-list '(("Zathura" "zathura-sync %n:1:%b %o")))
(setq TeX-view-program-selection '((output-pdf "Zathura"))) (setq TeX-view-program-selection '((output-pdf "Zathura")))
) )
;; Do not write anything past this comment. This is where Emacs will ;; Do not write anything past this comment. This is where Emacs will