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

I just did something bad :(

I use the same canvas of files to typeset some exercices. I normaly copy the main body of my last .tex file onto a new empty document and start from there. But this time, for some silly unknown reason, I forgot to copy paste the body into a new empty page, went ahead and deleted the things to be changed and started from the same file.

And I compiled. I try to revert back with CTRL-Z but it seems there is a limit to what you can revert to.

So now I lost one of my file. Is there any way I can find it back, is there some sort of history that is stocked somewhere in those bbl,aux files latex creates. Feel free to re-tag as needed.

share|improve this question

closed as off topic by Loop Space, lockstep, Ulrich Schwarz, Joseph Wright Nov 23 '12 at 8:20

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

If you do not use any kind of version control system, then there is no help! (For a lot of money you could get someone reading out your harddrive bitwise, but this will not work for newly overread sectors.) – Speravir Nov 22 '12 at 4:45
TeX does not generate backup files, no. But your editor may have saved backup files so it is worth looking in amongst the files in the directory for one that looks like a backup (it may be hidden - depends on your editor). – Loop Space Nov 22 '12 at 9:10
Are you using Windows Vista or later? It has a previous versions feature that may have saved a copy of your file. – andrew Nov 22 '12 at 17:02
@AndrewStacey: Not in TeXnicCenter. – Speravir Nov 22 '12 at 18:53
@andrew I will try the windows 7 restore when i get back home – Jean-Sébastien Nov 22 '12 at 18:56