I use LaTeX to generate all of the documents for my courses and as a result I have a lot of small documents in a given directory, which can then be hard to navigate due to all of the files generated when the .tex files are compiled. I have tried moving the output using output-directory and making an individual directory for each document but neither of these options have been entirely satisfactory. So my question is what methods of file management have worked for you with respect to LaTeX file management? Thanks.
|
|
This won't answer your question exactly, but it has worked for me. I'm using Cornerstone, a subversion (version control) client that lets you manage you files (if you don't know what version control is, look it up!). You can tell cornerstone to ignore all files of a specific file type so I set mine to ignore Version control is also godsent for anyone working on big projects etc. Cornerstone is for mac and isn't free but there are free subversion clients for both mac, linux and windows. |
|||||
|
|
One directory per document, or set of documents with the same source. For my lectures I put the sources in a docstrip file, and docstrip splits them into the sources of the various documents I'll use (my lecture notes, student handouts, slides, worksheets, etc.). This can be 50 files for one lesson with all the auxiliary files created. But even without so many derivative and auxiliary files I think it's still cleaner to use lots of directories. If you have files that need to be included into your class files, put them in your local texmf tree. |
|||
|
|
|
I just keep all of the files in the same directory with a In order to deal with the extra generated files, I compile in a separate directory by using the Here is a shell script for that. It uses
|
||||
|
|
|
You can use git or any other distributed version control system (Mercury/hg). Using a distributed version control system will allow you to create repository in place without maintaining a server, which is required for SVN. |
||||
|
|