[quote="gregor.hoch"]Hey, how can I change the output directory? Preferably, I would like to place the auxiliary files in a temp folder and the pdf in the same folder as the tex file. As an alternative, I can just put all output in another folder and manually save the pdf when I want to. I tried adding
to the cmd part of Latex.sublime-build but it didn't work. Any ideas what I have to do?
Mac OS with mactex 2011[/quote]
I haven't tried using this plugin on a mac but here's my 2 cents.
not working, have you verified that is a valid option for latexmk? I did a quick search for "man latexmk" and was directed to here. It does not seem -output-directory is a valid option. That aside, from what I have seen from the plugin code, specifically viewPDF.py, placing the pdf file in a directory other than the location of the tex file will prevent it from opening in the viewer. I could be wrong about that, my python is a little rusty, but I'm relatively certain that is the case.