Hi,

I have a problem with AucTeX.

In my file, I use the package minted that require to use the option
-shell-escape . In order to use this option, I need to add the following
line in AucTeX : %%% TeX-command-extra-options: "-shell-escape" in the
block *local variables*. So the end of my file look like this :

%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-engine: pdflatex
%%% TeX-master: t
%%% TeX-command-extra-options: "-shell-escape"
%%% End:

Since this option is unsafe, I have reset AucTeX. Indeed he asked me if I
want to use this option and I said yes.

However, I style have an issue when I’m compiling (with minted) saying that

Package minted Error: You must invoke LaTeX with the -shell-escape flag.

Beyond that, I have the following error :

Package minted Error: You must have `pygmentize' installed to use this package.

But I don’t understand why since when I open an shell and I enter the
following command :

`pdflatex -shell-escape myfile.tex`

then the file is compiling.

Moreover, I edited this file last week and I didn’t have this problem with
pygmentize. Since I have started to use *prelude* yesterday, the problem is
related to that.

So how can I resolve these two problems?
​

You can see or/and answer to this problem here :
http://tex.stackexchange.com/posts/226254/edit

Best Regards,

Saroupille
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to