Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

My latex file crashes to be a blank file after a computer blue-screen crash.

1,111 views
Skip to first unread message

Tao Wu

unread,
Jan 27, 2016, 7:59:05 PM1/27/16
to
My latex file crashes to be a blank file after a computer blue-screen crash. The file size is still the same as original. However, there is no any text after I open it, like the text is hidden somewhere or compiled somewhere. Is there any way to fix the issue? Greatly appreciate your help.

Leon van Dommelen

unread,
Jan 30, 2016, 11:07:10 AM1/30/16
to
Try another editor, like emacs (try opening with find-file-literally), or
a byte editor? Latex is plain text. If the bytes are there, you should
be able to see them. If not, I would assume your file is lost if your
editor does not keep a backup somewhere else.

Leon

Peter Flynn

unread,
Jan 30, 2016, 2:52:20 PM1/30/16
to
On 01/28/2016 12:58 AM, Tao Wu wrote:
> My latex file crashes to be a blank file after a computer blue-screen
> crash. The file size is still the same as original. However, there is
> no any text after I open it, like the text is hidden somewhere or
> compiled somewhere.

This sounds horribly like the old cross-linked cluster disk error you
used to see in the days of MS-DOS. The directory was reporting a
non-zero file size, but the file appeared to be empty when you opened it.

Either that, or something has written a DOS EOF mark (Ctrl-Z character)
into the file which is fooling the editor. Leon's suggestion to use
Emacs is a good one: it should show you *all* the bytes in the file.

///Peter


ashishb...@gmail.com

unread,
May 15, 2016, 2:09:36 PM5/15/16
to
If you are using cloud services like google drive or dropbox, they let you restore your files to an older version. Go to whatever service you are using, right click on the file name, then click manage versions.

2017l...@gmail.com

unread,
Dec 30, 2017, 9:58:05 AM12/30/17
to
On Monday, 16 May 2016 02:09:36 UTC+8, ashishb...@gmail.com wrote:
> If you are using cloud services like google drive or dropbox, they let you restore your files to an older version. Go to whatever service you are using, right click on the file name, then click manage versions.

You saved my 10 days of work! Thank you and Google Drive very much!
0 new messages