Refine minitoc entries in TeX.gitignore #4754
Open
+7
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated minitoc patterns to include versioning.
TeX.gitignorenow ignores both numbered and non-numbered minitoc files.The changes were made to include:
.maf,.mlf,.mlt, and.mtcfiles;.slf,.slt, and.stcfiles.Reasons for making this change
I was working on my thesis in LaTex (I moved it from Overleaf to VSCode + LaTeXWorkshop to prevent network issues) and noticed that over 10 of the minidoc types its build produced were still being committed rather than ignored. When I investigated, I realized that the glob patterns weren't matching with files:
main.mafbut notmain.maf1) in some cases;main.mtc1 through 8, likemain.mtc2, but not withmain.mtc).As my build produces a large number of minitoc files, some of them already part of the thesis template I was supplied and which I am thus reluctant to change, I think it would be valuable for the community to edit these patterns to match more usefull-to-ignore files.
Links to documentation supporting these rule changes
If this is a new template
N/A
Merge and Approval Steps