[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Options problem with LaTeX using AucTeX

From: François Thiré
Subject: [AUCTeX] Options problem with LaTeX using AucTeX
Date: Tue, 3 Feb 2015 12:15:34 +0100


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 :

Best Regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]