Closed koppor closed 7 years ago
There are two issues here:
To elaborate on 2: it's completely infeasible to program all files some other active tool will write to into ltx2any. It keeps track of its own files (or tries to, at least ;) ) and that's all that you can do, in general.
I always recommend putting your LaTeX stuff in a separate folder. Having a Powerpoint in the same directory gives me the creeps, honestly. X-) If you really need to recompile your thesis and work on your presentation at the same time, the -i
parameter is there for you!
Fun fact: on GNU/Linux,
-i "`tr '\n' ':' < .gitignore`"
does what you want with .gitignore
.
I'm willing to entertain an option -if
that takes files with one file to ignore per line. That's a general solution and easy to implement. That said, I'm still considering introducing config files for ltx2any after all, which would supersede this.
I have my latex stuff in one folder an figures in the figures/
sub folder. This seems to be a normal setting. I keep the source of the figures next to the PDF generated ones. I agree that some variant of our templates have two separate folders figures-pttx
and figures
(see https://github.com/latextemplates/uni-stuttgart-dissertation-template/tree/template/figures-pptx). Still, both are subfolders of the main document.
I am using
-d
and get following output:The
~$...pptx
files are temporary files generated by PowerPoint. I would have expected ltx2any to ignore any "common" temporary file.Suggestion: Why not ignoring all files listed in
.gitignore
? I always generate the file using https://www.gitignore.io/: https://www.gitignore.io/api/microsoftoffice%2Cwindows%2Cmacos%2Clinux%2Cjabref%2ClatexI know that it could a problem for detecting file changes then... If that is the case, I would expect ltx2any to ignore the files generated by https://www.gitignore.io/api/microsoftoffice%2Cwindows%2Cmacos%2Clinux%2Cjabref (meaning the above without LaTeX)
I know that I could easily generate parameters for
-i
based on that list. However, I thought that the tool was smart to know the usual temp files.(Somehow refs #87)