Add "-shell-escape" to TeX options

This allows gnuplottex to automatically generate graphs
This commit is contained in:
Adam Goldsmith 2015-09-17 20:41:08 -04:00
parent c28ce6862f
commit 24f96b5df5

1
.emacs
View File

@ -144,6 +144,7 @@
(interactive) (interactive)
(save-buffer) (save-buffer)
(TeX-command "LaTeX" 'TeX-master-file -1)) (TeX-command "LaTeX" 'TeX-master-file -1))
(setq TeX-command-extra-options "-shell-escape")
(add-hook 'LaTeX-mode-hook (add-hook 'LaTeX-mode-hook
(lambda () (local-set-key (kbd "C-z") 'my-tex) (lambda () (local-set-key (kbd "C-z") 'my-tex)
(local-set-key (kbd "C-c e") 'tex-close-latex-block)))) (local-set-key (kbd "C-c e") 'tex-close-latex-block))))