[Tex/LaTex] LyX: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

auxiliary-fileslyxpdf

I am working on a document in a TrueCrypt volume. As far as I understand, when I view PDF, LyX puts a temporary PDF file (and probably all temporary pdflatex files) into some other folder (at least, I don't see them in the folder with the lyx-file). Can I change this? I would like all files, even those later deleted, to reside in a TrueCrypt folder.

I have tried to remove the path in the Preferences/Paths/Temporary directory, but the PDF file still doesn't appear in the lyx-file folder.

Best Answer

Tmp files and memory dumps are written to disk and those files can be recovered using file system analyses tools such as EnCase/Sleuthkit/Graverobber etc.

If you are working with sensitive data consider using full disk encryption. See this link for an overview of of the process.