I am trying to use minted
for code highlighting. Now to use this package I need to enable shell escape. So I have set the compiler options as follows:
However, I am still getting the same error from minted
:
Package minted Error: You must invoke LaTeX with the -shell-escape flag.
Only this time there is a warning from ifplatform
:
shell escape is disabled, so I can only detect \ifwindows.
Please let me know how to resolve this issue.
Additional Information:
- Tex distribution: TexLive 2016
- Editor: TeXnicCenter
- Platform: Windows 10
- Installed python 3.5 and
pygments
usingpip
. Thescripts
path is also set inPATH
variable.
"%vm"
last-interaction=nonstopmode -shell-escape "%wm"
, and that also worked in TeXnicCenter. If possible please post it as answer.