TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

My PC was turned off while I was running my TeX file on the LED (LaTeX editor). Indeed, it turned off before the execution of the file was finished. When I came back to my tex file it was turned into binary !!!

Can anybody know what is the reason, and is there a way to turn them back?

share|improve this question
No; and I'm surprised to hear this is what happens since (surely..?) the .tex file should just be read, not manipulated. But doesn't LED have default auto-save settings? – jon Jun 18 '13 at 4:57
With multiple geographically dispersed authors, each with their own OS and toolset, we setup a git repo on Bitbucket and split the document into sections to minimize mutex problems. This is useful for even a single author. This was very helpful: stackoverflow.com/questions/6188780/git-latex-workflow – rickhg12hs Jun 18 '13 at 7:57
Unfortunately this happened to me with LEd and I don't think there is a fix for that. I would recommend not using LEd as an editor since the last bug fix is from 2009 (though it was a very nice one back then) and I've lost my documents more than twice with it. – percusse Jun 18 '13 at 11:07
IDE's are more personal choice I believe, hence please choose your's from LaTeX Editors/IDEs, it's very nicely maintained thread. I have not used LED so no idea for an equivalent of it, may be (free ones)TeXworks/TeXmaker/TeXstudio... can do. – texenthusiast Jun 19 '13 at 5:16
@Mamal I've been using TeXnicCenter 2 beta but others are also very satisfied with other editors so I think now it is safe to recommend all editors depending on your personal taste. Thaqt includes WinEdt if you don't mind popups once in a while. I've bought it for historical reasons(since I've wrote my MSc thesis with it) but use TC daily. – percusse Jun 19 '13 at 5:53

Aparently, you have a corrupted file system.

Is desirable that you run a checkdisk.

Don't recover anything before that run, to avoid writing on sectors from files that can be recovered.

Denis J Navas

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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