MiKTeX and proTeXt ⇒ Change Output Folder for compiled Files
-
- Posts: 8
- Joined: Tue Oct 18, 2011 3:37 pm
Change Output Folder for compiled Files
i installed miktex and texniccenter. created my first pdf, can insert pictures and so on. everything works quite good.
my problem is now that everytime i compile a pdf there are a lot of unwanted files within my folder. *.log, *.aux, *.bbl and *.blg
i have absolutely no use for these files but they are all the time in my way.
the folder looks unsorted and in disorder.
can i get rid of them after compiling?
like a setting to put these files in a separate folder or a delete operation afterwards?
anything is ok to put them somewhere else.
the pdf should still be put in the same folder as the *.tex file.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Change Output Folder for compiled Files
These files are substantial for the entire build process of a document. The compiler retrieves important information from these files (ToC, labels, bibliography, …). Especially the log file contains valuable information about errors in the source. So these files aren't just produced to fill disk space, but have a certain purpose.ForenDaddy wrote:[…] my problem is now that everytime i compile a pdf there are a lot of unwanted files within my folder. *.log, *.aux, *.bbl and *.blg
i have absolutely no use for these files but they are all the time in my way.
the folder looks unsorted and in disorder. […]
Running MiKTeX, you can redirect these files to another folder and specify a certain output folder [1].
Code: Select all
pdflatex -aux-directory=DIR -output-directory=DIR filename.tex
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 8
- Joined: Tue Oct 18, 2011 3:37 pm
Re: Change Output Folder for compiled Files
-aux-directory="c:/temp" works for me.
just added it in texniccenter under output profile of pdflatex.
thx and i'm right back at work ^^