preview-latex to use the
-shell-escape option when it invokes PDFLaTeX, which is required by the
minted package for syntax highlighting, as it invokes python. How can I do that?
From the preview-latex documentation :
Replacing the line
should do the trick. Don't forget to click "Set for current session", and "Save for future sessions" if it works!
Based on the previous answer, I changed the settings through the UI, and looked at what was being written out to .emacs - the parts that are pertinent for this question are