Questions tagged [auxiliary-files]

{auxiliary-files} is about files generated and read by LaTeX and packages which hold auxiliary information about the document.

Auxiliary files like .aux, .toc or e.g. .out etc. are files generated by LaTeX and packages which hold auxiliary information about the document. Specific information like sectioning titles or labels are written to these files. In following compiler runs this information is then read at the begin of the document so that there are globally available.

This feedback allows LaTeX to e.g. display the Table of Contents at the beginning while the required data (the sectioning titles) are not yet read.

461 questions
129
votes
20 answers

Prevent pdflatex from writing a bunch of files

If I create just a basic hello.tex file an compile it using pdflatex hello.tex The pdflatex program is creating a plethora of file which is a little annoying. Currently it writes all those files about which I really don't care: hello.aux,…
fouronnes
  • 1,597
  • 3
  • 12
  • 10
78
votes
10 answers

Need *.aux file in separate folder

When compiling with pdflatex we need the *.aux files in a separate folder.
S. Murugan
  • 1,139
37
votes
7 answers

How do you store all your TeX files long-term?

Reading through As an expert, can you always use TeX for (nearly) any kind of document?, it seems most people use TeX for almost all their documents. My question is this: how do you store these documents on your system? At the moment, I create a…
alexmuller
  • 525
  • 5
  • 7
32
votes
2 answers

How to use the aux file

This is not a terribly well-formed question, sorry. I don't really know what information is in the .aux file, or how I can make use of it in other (related) documents. What's the best reference for understanding how this works? One common thing I…
rogerl
  • 3,583
  • 5
  • 29
  • 39
32
votes
1 answer

When is the aux file read and written?

I'd like to know when the aux file is read. I know it happens after the preamble, but does it come before or after the \AtBeginDocument hook? I'd like to know when the aux file (or any other helper file) is actually written. I tried to trace the…
mafp
  • 19,096
22
votes
1 answer

Egad! What are all those files?

Ok, let's write a document! $ vim thesis.tex i[input a whole bunch of latex and text]ZZ $ pdflatex thesis $ ls thesis.acn thesis.alg thesis.bbl thesis.dvi thesis.glo thesis.ilg thesis.ist thesis.pdf thesis.toc thesis.acr thesis.aux …
naught101
  • 8,224
18
votes
1 answer

how to compile without producing output

Is there any way to run LaTeX without it trying to produce output, only producing an .aux file with section, equation, table, figure, references, etcetera. I understand it obviously can't produce page references. I know about the virtues of…
JPi
  • 13,595
13
votes
1 answer

What is the use of the command \IeC?

It is produced in streams by newfile when I use special characters.
Colas
  • 6,772
  • 4
  • 46
  • 96
12
votes
1 answer

Why does the aux file initialize with a \relax?

In source2e (specifically ltfiles.dtx) under \document, the following definition is given: 34 \if@filesw 35 \immediate\openout\@mainaux\jobname.aux 36 \immediate\write\@mainaux{\relax}% 37 \fi In plain English: the first line of the aux file begins…
12
votes
2 answers

How and when is the "aux" file read and processed?

Note: I've already looked at When is the aux file read and written?, but it doesn't address the issues I'm curious about. I wrote some commands for tracking information in my document. Since I would like to have this information available from the…
A.Ellett
  • 50,533
10
votes
1 answer

Write information on aux file when using include to build document

This may be an odd question, but I'm having trouble writing information on the main .aux file when I split my documents through more than one .tex. Here is the deal: I'm trying to calculate the size of the widest TOC label so that I can align all…
8
votes
1 answer

Should I version control the .fls file?

I have ommited the following files from my Latex repo. *.aux *.glo *.idx *.log *.toc *.ist *.acn *.acr *.alg *.bbl *.blg *.dvi *.glg *.gls *.ilg *.ind *.lof *.lot *.maf *.mtc *.mtc1 *.out I see my Professor submitted a .fls Latex file. Should this…
Exploring
  • 469
8
votes
1 answer

Strange behaviour of \addcontentsline

Using an up-to-date TeXlive 2012 (with all updates) this small document will produce a strange AUX file: \documentclass{book} \usepackage[list=on]{subcaption} % Suppress writing the definition of \caption@xref to the AUX file (does not…
user2574
7
votes
3 answers

How to delete files generated by latex?

When I run a latex file using Texmaker it generated extra files which are .aux, .log, .out, .bbl and .synctex.gz, how can i delete them so that my files will contain only .pdf and .tex.
Biki Teron
  • 3,275
7
votes
1 answer

Use of different output files in LaTeX (pdflatex)

When I use pdflatex, I get a bunch of files: test.aux test.log test.out test.pdf test.tex test.toc The .tex file and the .pdf file have an obvious use, but what do the other files do? Thanks in advance.
Magnus
  • 181
1
2 3 4