[Tex/LaTex] Kile: shell-escape doesn’t work

kilepdftex

I have added these packages:

\usepackage[margin=1.25in]{geometry}
\usepackage{cite}
\usepackage{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[dvipsnames]{xcolor}
\usepackage{hyperref}
\usepackage{minted}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{textcomp}

When I save, I have the error: Package minted Error: You must invoke LaTeX with the -shell-escape flag \usepackage

So, I added --shell-escape as an option in the pdflatex configuration of Kile (Configure Kile > Tools > Compilation).

It still doesn't work and I get the exact same error. Why?

Best Answer

It should work see the clean run on the left. It is possible your quick build is not currently set to the compiler you changed. Here I had added it to my current default settings for PdfLaTeX but am about to remove with a simple delete. You can create a new tool with those settings, but I try to keep my system as close to default for next test.

enter image description here

Related Question