From 24f96b5df56ce9ae43daf604b59474e7561296ad Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 17 Sep 2015 20:41:08 -0400 Subject: [PATCH] Add "-shell-escape" to TeX options This allows gnuplottex to automatically generate graphs --- .emacs | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs b/.emacs index 091bfb8..6dd6485 100644 --- a/.emacs +++ b/.emacs @@ -144,6 +144,7 @@ (interactive) (save-buffer) (TeX-command "LaTeX" 'TeX-master-file -1)) + (setq TeX-command-extra-options "-shell-escape") (add-hook 'LaTeX-mode-hook (lambda () (local-set-key (kbd "C-z") 'my-tex) (local-set-key (kbd "C-c e") 'tex-close-latex-block))))