hi, i am quite new with tex.
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.
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
Last edited by ForenDaddy on Mon Oct 24, 2011 9:10 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
- 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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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
this is nice.
-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 ^^
-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 ^^