I am using the option -aux-directory=D:\tmp with the latex-command to have all
those aux-files in the tmp-directory.
This works well, but when i click into the Log-tab an Error pops up saying
"Log File not found!"
How can i instruct TexStudio to find the log-file also in D.\tmp ?
I have the same problem, too.
I have my project on a USB flash drive. As building the document on the USB
stick is painfully slow and wears out the memory, I want all output to be
written to a different directory on my HDD. One idea was to use
xcopy *.* p:\texstudio\% /e /d /y /i
before every build to copy all new files (including images) to the HDD and
pdflatex -synctex=1 -interaction=nonstopmode -aux-directory="p:\texstudio\?m)" -output-directory="p:\texstudio\?m)" -include-directory="p:\texstudio\?m)" %.tex|tmx://internal-pdf-viewer "p:\texstudio\?m)\?m).pdf"
to build the document. However, I get the error message that the log file is
not found (which obviously is created in the "aux-directory"). In addition,
the internal pdf viewer does not find the output file at
"p:\texstudio\?m)\?m).pdf". It seems that it always uses the expected outut
file (in the source directory) and ignores the argument. If I use a different
viewer such as SumatraPDF, it finds the file, so the path is correct.
Is there any way to tell TeXstudio where to search for the .log-file and the
output .pdf file?
On windows Vista/Windows 7 with NTFS file system, there is a workaround:
You can create a symbolic link the corresponding files in the source directory
(e.g., using mlink or link shell extension).
However, as far as I know this is not working on Windows XP (which I use at
For XP I have found a "hack":
Intended for Visual C++ 2008, but works also with TeXstudio.
However, the TeXstudio.exe is suspected by Avira to have a backdoor now (which
indeed is not so wrong...).
I think this should do on any platform (Windows, Mac, Linux)
Does it not work on a particular platform?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.