Skip to content

Instantly share code, notes, and snippets.

@bertvv
Last active January 18, 2019 13:01
Show Gist options
  • Save bertvv/4460239 to your computer and use it in GitHub Desktop.
Save bertvv/4460239 to your computer and use it in GitHub Desktop.
Ignore temporary files for a LaTeX project in Mercurial. Works as well as a .gitignore for a Git repository if you drop the line with "syntax: glob".
# Files to ignore in a LaTeX project
syntax: glob
# General files to ignore
*~
*.bak
# Gedit LaTeX ini file
.*.ini
# LaTeX compilation artifacts
*.aux
*.bbl
*.blg
*.brf
*.fls
*.lof
*.log
*.lot
*.nav
*.out
*.snm
*.synctex.gz
*.thm
*.toc
*.vrb
*.fdb_latexmk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment