I used this tutorial to export my auxiliary files into a different directory.
Basically i just add -aux-directory=build
in Options -> Configure -> Commands
and added the build
folder into Options -> Configure -> Build -> Build Options -> Additional Search Paths -> Log
.
This succesfully generates all the auxilliary files in the build folder and it's also possible to generate the pdf.
Unfortunately biber has a problem with this setup:
Prozess gestartet: biber.exe "MyFile"
INFO – This is Biber 1.7
INFO – Logfile is 'MyFile.blg'
ERROR – Cannot find control file 'MyFile.bcf'! – did you pass the "backend=biber" option to BibLaTeX?
INFO – ERRORS: 1
I guess i have to specify the correct path for biber somewhere in Texstudio. Does anyone know where i have to update the path?
In this thread someone had similar problems. Also i'm not sure if the solution of this thread applies to my situation.
Best Answer
Solution to use Texstudio and output the build (temporary) files into a seperate folder using biber:
YourName
into the same directory as your main .tex file.Options -> Configure -> Commands -> PdfLaTeX
for MiKTeX add-aux-directory=YourName
. If you use TeX Live use-output-directory YourName
. Result looks something like this:pdflatex.exe -synctex=1 -interaction=nonstopmode -aux-directory= build %.tex
respectivelypdflatex -synctex=1 -interaction=nonstopmode -output-directory=build %.tex
Options -> Configure -> Commands -> Biber
add--output_directory YourName
. Result looks something like this:biber.exe --output_directory YourName %
(careful: i think the space between the name and % is mandatory)Options
bottom left corner activate theadditional options
checkbox. Add your folder toConfigure -> Build -> Additional Search Paths
with.\YourName
(or complete path)Thanks @cfr for the solution!