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

gregor.hoch wrote: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

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.

Hmm... two things: first, I haven't really tested latexmk on MikTeX, only on TeXLive. [But I'd like to know if it does work well]. Second, you have a non-ASCII character in your path. Those are painful, and in fact miktex does worse than texlive with unicode. Can you try to see if that is the problem (move the file to a directory with ascii-only path name)?