Ok, let's write a document!

$ vim thesis.tex
i[input a whole bunch of latex and text]<Esc>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  thesis.blg
thesis.glg  thesis.gls  thesis.ind  thesis.log  thesis.tex

What are all of these files? I only wanted my document!

Ok, ok, so you can see that I've used pdflatex and latex, and I'm obviously using a few common packages (e.g. glossaries) and bibtex. Nevertheless, it'd be great to know what these files (and similar files for other common packages) are for, and whether there's any reason to keep them.

  • 4
    Note: there are other questions like this, with answers. But they contain different files. Ideally, it'd be good to have a single question with many common file types listed, but I don't know then best way to do that. Also, perhaps this should be community wiki? – naught101 Apr 25 '12 at 9:11
  • 2
    You don't have a thesis.idx? (And no .lof, .lot, .toc, .tmb,...?) But I really support your idea of a CW question/answer list for this! – Stephen Apr 25 '12 at 10:01
  • 5
    I think it'd be best to expand the other question, which you pointed to, to cover more extensions. It's actually good to expand questions to make them canonical. Thankfully, the other question is abstract and broad enough to allow for such expansion. As a result, this question here should probably be closed as a duplicate. – doncherry Apr 25 '12 at 10:56
  • 1
    @doncherry ok, that's fine by me. I was just thinking that the two answers there are already question-specific, and it might be easier to start with a blank slate. – naught101 Apr 25 '12 at 11:03
  • 3
    Duplicate of Prevent pdflatex from writing a bunch of files. or File extensions of LaTeX-related files dependent what the real question is here. – Martin Scharrer Apr 25 '12 at 20:20

I started compiling a list of all known auxiliary files on github:

Any help in filling out the document greatly appreciated :)

| improve this answer | |
  • 1
    The corresponding list for ConTeXt (MkIV) is .tuc for auxiliary data and .log for log ;-) – Aditya Apr 25 '12 at 16:43
  • 1
    You might want to add \EXT{}{.ist}{index format file, manually created} \EXT{pdfcomment}{.upa}{?} \EXT{pdfcomment}{.upb}{?} \EXT{thumbs}{.tmb}{list of thumb marks}. – Stephen Aug 17 '12 at 14:08
  • 1
    This would be a useful resource if it wasn't in LaTeX... – Rikki Nov 2 '16 at 16:43
  • We could convert it to CSV and generate the document dynamically if you're interested in helping out :-) – Will Robertson Nov 2 '16 at 21:56
  • Great resource! Extensions not listed are .tdo .agr .fls .fdb_latexmk .run.xml .xdy .ist – tommy.carstensen Dec 1 '17 at 23:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.