TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Initial position

I recently bought a new computer, and I thought I have backed up all of my LaTeX files and documents from my old computer onto an external hard drive. Upon searching for old LaTeX documents in the external drive, I noticed that all of them were only available in PDF form (there were no .tex files anymore).


How can I recover or reconstruct these lost .tex files?

share|improve this question

closed as off-topic by Torbjørn T., cfr, Martin Schröder, Sean Allred, ChrisS Feb 20 '14 at 23:43

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Torbjørn T., cfr, Sean Allred, ChrisS
If this question can be reworded to fit the rules in the help center, please edit the question.

Turn on your old computer and copy the .tex files to the external hard drive as well. – canaaerus Feb 20 '14 at 22:47
That's what I did to begin with. But when I plug the external drive into the new computer, the tex files disappear. – Neil Feb 20 '14 at 22:50
This question isn't really related to TeX (so is off topic for this site) tex files are just standard text files so copying them does not require any special tex application, it is just a matter of operating system use, as for any file. So you would need to ask on a forum for the operating system (you don't say which you are using). – David Carlisle Feb 20 '14 at 23:01
possible duplicate of How to convert PDF to (La)TeX? – Martin Schröder Feb 20 '14 at 23:21
Furthermore some advice: use LaTeX with a subversioning system like git. You can then push your files to a free git hosting service like github. – Willem Van Onsem Feb 20 '14 at 23:34

You can go back to your old computer and copy them to your external hard drive but try and change their extension from .tex to .txt in case they appear that way. Don't do that in the originals but in copies. There wouldn't be any problem but just in case. As it is already mentioned in the comments .tex files are simple text files.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.