I want to organise better LaTeX process files such as .aux, .log, .nav, .snm, .synctex.gz, .toc and .out. I know the threads
- here about How to manage LaTeX files in a directory? but it is about version control management.
- here about Directory organization with multiple papers that share files but it is about working with papers sharing same bibliography.
Keep auxiliary away from your way
It is nice to keep pictures with graphicspath in Images folder such that they do not mess up the workflow.
I would similarly like to keep the LaTeX process files in corresponding folders because I have many presentations and these process files are on my way, for instance
7.4.2016_presentation.aux
7.4.2016_presentation.log
7.4.2016_presentation.nav
7.4.2016_presentation.pdf
7.4.2016_presentation.snm
7.4.2016_presentation.synctex.gz
7.4.2016_presentation.toc
7.4.2016_presentation.out
7.4.2016_presentation.tex
Pseudocode to keep all auxiliary files in one directory
\auxpath{{/Users/masi/BitTorrentSync/Inf/.auxiary}}
\logpath{{/Users/masi/BitTorrentSync/Inf/.auxiary}}
\navpath{{/Users/masi/BitTorrentSync/Inf/.auxiary}}
\snmpath{{/Users/masi/BitTorrentSync/Inf/.auxiary}}
\synctexgzpath{{/Users/masi/BitTorrentSync/Inf/.auxiary}}
\tocpath{{/Users/masi/BitTorrentSync/Inf/.auxiary}}
\outpath{{/Users/masi/BitTorrentSync/Inf/.auxiary}}
Removal approach
Benchmark
latexmk -c
which removes auxiliary files. To bind this to any editor is still unknown. I am using TextMate. I do not like the delete approach because I think those auxiliary files should be stored. Better solution would be to keep them in some directory that could be controlled by LaTeX.
How to Keep LaTeX LaTeX Process Files in Directories?
ltx2anyyou can keep your project folder clean – samcarter_is_at_topanswers.xyz Apr 24 '16 at 11:40