auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Options problem with LaTeX using AucTeX


From: Mosè Giordano
Subject: Re: [AUCTeX] Options problem with LaTeX using AucTeX
Date: Tue, 3 Feb 2015 13:39:49 +0100

Hi François,

2015-02-03 12:15 GMT+01:00 François Thiré <address@hidden>:
> 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:

There is no such "pdflatex" value for `TeX-engine', did you mean
"default"?  If so, it's the default (as the name suggests), so you
don't need to specify it.  Which is the first line of the output
buffer (C-c C-l)?

Bye,
Mosè


> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/auctex
>



reply via email to

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