%%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End:
In order to define the latex command e.g. include -shell-escape you have to add the following line before the End: command into the latex file:
%%% LaTeX-command: "latex -shell-escape"
%%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End:
%%% LaTeX-command: "latex -shell-escape"
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
(setq preview-gs-options '("-q" "-dNOSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4"))
Ctrl-c p-d