15

I'd like to know if I'm leaking personal data if I hop from computer to computer running my .tex file without deleting some hidden log of some kind that retains, say, an address I have in an invoice within my TeX doc. Am I safe?

5
  • I'm running it off a USB, and all my .aux, .tex, etc. files are all on my USB, but does the native LaTeX application store these data? May 7, 2014 at 17:17
  • 5
    No, without explicit switches, all the auxiliar files are written in the same folder than your source document, and there are not hidden system-wide logs.
    – JLDiaz
    May 7, 2014 at 17:26
  • 4
    By default latex doesn't store anything, but latex is a programmable system that can write files so asking what latex saves is like asking what C or Fortran saves: it saves whatever it's programmed to save. If you use some random latex document class picked up of the web and use the commands defined within that file, latex does whatever it does. May 7, 2014 at 17:35
  • It's my document that I made with my bare fingers, so I think I'm safe. Thank you, BTW. It's just that I've been teaching myself forensic data analysis, and I've seen some remarkable things I never knew... May 7, 2014 at 17:37
  • ... but wear latex gloves and safety goggles, just in case. May 13, 2014 at 21:17

1 Answer 1

7

Out of the box LaTeX stores information about the used program version and the used packages in the .log file. In other auxiliary files it stores certain information about your document such as section header information for the table of contents, cross reference information, etc. basically anytihng that LaTeX needs to know about the document as a whole and therefore stores it externally in one processing run to reuse it in the next run.

Such data may contain PII (personal identifiable information) depending on what you put into, say, section headers. The content of the \author command used in \maketitle is not transfered to such external files (by default).

However, as it was mentioned in comments, LaTeX is a full general programming language that can write file so in principle any data in your source document may be processed and externalized in a file. So depending on additinal packages you use other PII data may show up in auxiliary files.

So if you want to be safe, delete all helper files after processing your documents as they are not needed and can be recreated. By default they are all written in the local directory. But again, nothing prevents a malicious package to write to some other place in the file system (in theory). In practice you should be safe assuming you use a standard distribution.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .