I have a document that I've been working on for a long time using Sublime Text 3, LatexTools, and TexLive. Both on Windows 10 and Mac. Everything there works great.

I tried to compile it from the command line using latexmk thesis and latexmk --shell-escape thesis but it fails.

It cannot find figure and table files, most likely because I have multiple \graphicspath statements, allowing me to show the same charts from multiple directories.

How do I find out the full command line / environment used by Sublime Text / LatexTools so I can run it from the command line?

1 Answer 1


The full command line of any commands LaTeXTools uses is logged to the console (in the View menu, select Show Console).

If you really need the environment variables, they can be gleaned from the information displayed by the LaTeXTools: Check System command.

  • Thanks - both are correct and helped me build it from cli Commented Apr 13, 2018 at 13:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .