pdflatex (and maybe others) generate lots of additional files that are not needed after compiling. Even though we have the 'remove auxiliary files' option, support for the -aux-directory=<directory> option may be very handy to keep your directory clean. Directly adding this to the pdflatex path is not possible because Texstudio cannot find the log file afterwards.
Anonymous
There is an option on the build page: Additional Search Paths : Log File
Then it can find it
Thank you, that works. That option is well-hidden though! Also, it doesn't work for .synctex.gz files, which are not incuded in the functionality of the -aux-directory command. So maybe it would be better to have a seperate option (checkbox) and a directory text field to make this less of a hassle?
A more simple option to at least make it work could just be a new directory for .synctex.gz files in the "additional search paths" section. BTW, I think that the "additional search paths" option is a bit weird, as it is always hidden by a checkbox, regardless if it's used or not.
Besides, the 'remove auxiliary files' option now doesn't work of course.
Another thing: it gives an error
"I couldn't open file name `{filename}.aux'"
when using the aux-directory option, so it doesn't find any bibtex references. (Cross-references seem to work fine, for some reason.)
Last edit: Eyzel 2013-03-30