1

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.

7
  • 3
    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, 2012 at 4:45
  • 4
    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). Nov 22, 2012 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, 2012 at 17:02
  • @AndrewStacey: Not in TeXnicCenter.
    – Speravir
    Nov 22, 2012 at 18:53
  • @andrew I will try the windows 7 restore when i get back home Nov 22, 2012 at 18:56

0

Browse other questions tagged .