MiKTeX and proTeXtCompiler creating extra .aux files everywhere

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
rhn
Posts: 1
Joined: Thu Feb 25, 2010 4:25 pm

Compiler creating extra .aux files everywhere

Post by rhn »

Recently using miktex 2.8 i have noticed that it have produced aux-files of not just the masterfile, but also of most the other included files. Small thing as it is, it rather annoys me having these files spread out through the folders, and it happens from time to time someone gets them uploaded onto the SVN.
What i was wondering is if its normal for it to produce so many .aux-files now, and what the reason why could be? Dont seem to remember miktex 2.7 doing it, unless you wrongly tried to compile something else than the masterfile.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Compiler creating extra .aux files everywhere

Post by kaiserkarl13 »

Any \include'd file that contains information that needs to be written to the .aux file (examples: citations, cross-references, labels, section headings corresponding to table of contents entries) will generate its own .aux file. This is normal, and is a fact of life with \include. Packages like chapterbib use these files to create separate bibliographies for each \include'd file.

If you don't like the .aux files, use \input instead of \include. This will not issue the \clearpage command that comes with \include, and won't be processed by \includeonly, but it should eliminate the .aux files unless I'm mistaken.
Post Reply