atom-latextools
atom-latextools copied to clipboard
-shell-escape is not properly passed
I am trying to use minted
on Windows (Atom, MiKTeX, Python 2, pygments—all properly installed and updated to latest versions), which requires -shell-escape
. The .tex document has % !TEX option = -shell-escape
in the first line, and when I look in the LaTeXTools Console output I can see that it is passed to texify
:
Platform: win32; texpath:
Processing file Assignment.tex (Assignment) in directory C:\Users\bazzilic\Dropbox\My Projects\TestAssignment\AssignmentDocument
texify builder
texify -p --tex-option="-interaction=nonstopmode" --engine=pdftex --tex-option="--synctex=1 -shell-escape" "Assignment.tex"
However, right after that the log says:
Parsing C:\Users\bazzilic\Dropbox\My Projects\TestAssignment\AssignmentDocument\Assignment.log
ERRORS:
C:/Users/bazzilic/Dropbox/My Projects/TestAssignment/AssignmentDocument/Assignment.tex:11: Package minted Error: You must invoke LaTeX with the -shell-escape flag. [\usepackage]
Am I doing something wrong? Is this a bug? This same document used to compile fine about half a year ago btw.
You may try % !TEX option = --shell-escape
I tried --shell-escape
, I tried options
(plural), I tried %!
instead of % !
. No effect.
I think this is a straightforward error in how we are passing options to texify
.
I see that latest commit to the repo is in 2016. Is this project still active?
I assume, this will not be fixed?