Typical .hgignore file for LaTeX project
When working on TeX documents, version control can help very much. I use Mercurial.
When compiling a final document, typesetting engine (e.g. pdflatex) produces a lot of intermediate files, which should not be version controlled. One way to exclude such files from version control is Mercurial’s .hgignore file that should be placed in repository root.
Here’s such an example file that tells hg to ignore TeX intermediate stuff:
syntax: glob *.aux *.bbl *.blg *.brf *.log *.out *.synctex.gz *.thm *.toc
Advertisement
