Reputation: 899
I am wondering what files I should exclude from VSC in LaTeX projects
Upvotes: 12
Views: 14635
Reputation: 2548
Github provides a good one over here, I modified theirs slightly because i normally put my latex files in a nested folder in my git repo, so this solves that minor change:
## Core latex/pdflatex auxiliary files:
**/*.aux
**/*.lof
**/*.log
**/*.lot
**/*.fls
**/*.out
**/*.toc
**/*.fmt
**/*.fot
**/*.cb
**/*.cb2
**/*.lb
and if you use the additional libraries, you can do something similar for them too!
Upvotes: 0
Reputation: 332
Here is the .gitignore I found quite comprehensive for latex projects.
Also since I have tex file in multiple sub-directories, I remove the auto
folders in those sub-directories by adding **/auto/**
to the .gitignore file.
Upvotes: 7
Reputation: 899
I've looked into Kile's
(LaTeX editor) preferences and found Automatically clean-up files
list. I think that it is surely unnecessary files. The List:
.aux .bit .blg .bbl .lof .log .lot .glo .glx .gxg .gxs .idx .ilg .ind .out .url .svn .toc
I think it is enough for .gitignore
.
Upvotes: 11