Skip to content

Instantly share code, notes, and snippets.

@kogakure
Last active November 10, 2025 10:58
Show Gist options
  • Select an option

  • Save kogakure/149016 to your computer and use it in GitHub Desktop.

Select an option

Save kogakure/149016 to your computer and use it in GitHub Desktop.
Git: .gitignore file for LaTeX projects
*.acn
*.acr
*.alg
*.aux
*.bak
*.bbl
*.bcf
*.blg
*.brf
*.bst
*.dvi
*.fdb_latexmk
*.fls
*.glg
*.glo
*.gls
*.idx
*.ilg
*.ind
*.ist
*.lof
*.log
*.lol
*.lot
*.maf
*.mtc
*.mtc1
*.nav
*.nlo
*.nls
*.out
*.pdf
*.pyg
*.run.xml
*.snm
*.synctex.gz
*.tex.backup
*.tex~
*.thm
*.toc
*.vrb
*.xdy
*.xml
*blx.bib
.bak
.mtc
build/
@olvegam
Copy link

olvegam commented Sep 5, 2022

¡great! Very useful.

¿someone have them classified by use or tool that generates those files?

Thanks in advance.

@linden-yuan
Copy link

Can you add *.brf (for backreferences)?

@kogakure
Copy link
Author

I’ve added most suffixes suggested here to the list and sorted it alphabetical.

@TheOneTEM
Copy link

TheOneTEM commented Nov 10, 2025

for users of VSCode's LateX Workshop plugin with biblatex, it could be useful to add the following:

*.bbl*
*.bcf*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment