So I store my TeX source files in dropbox for backup and synchronization. Of course, it's annoying when you compile to have dropbox upload and download the changes to the temporary files, so you want to put these somewhere else. Since I use Mac OS X and Linux, I chose
/var/tmp/texBuild as my output directory for these files. My Makefile includes simply:
TMPDIR = /var/tmp/texBuild FC = pdflatex -output-directory $(TMPDIR)
When creating a nomenclature, it complained that it was not authorized to write to that directory. A quick search gave me an answer: edit the
texmf.cnf to change the variable
a. However I then found this question: Open a file whose name start with a dot and other strangely named files? where it is suggested to not do that system wide. Where can I set this environment variable? In my Makefile? Should I rather pick another output directory than
/var/tmp? I realize I could have just made a comment to that other question but hopefully my question is sufficiently different to warrant its own question.