I know how to deal with the problem with the older version of LaTeXTools. But recently LaTeXTools has been updated, which turn out to deprive me of knowing what to do.

I use Windows+MikTex, by the way.


In the more recent versions of LaTeXTools, enabling this has become less hackish. There are two methods that can be used to set flags for pdflatex. Either:

  1. At the start of your text file include a "magic" comment like this: %!TEX option = --shell-escape


  1. In the builder_settings section of LaTeXTools setting file, add a key "options" like this:

    "options": [ "--shell-escape" ],


See answer here.

"tap Preferences->package settings->LaTeXTools->Reconfigure LaTeXTools 
and migrate settings in order to create the LaTeXTools.sublime-settings file."

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.