LaTeX forum ⇒ LyXHow can I solve and retrieve a document that when loading it I get the message "it was not a readable Lyx document."

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
samuel marquez8
Posts: 3
Joined: Thu Jan 04, 2018 9:29 pm

How can I solve and retrieve a document that when loading it I get the message "it was not a readable Lyx document."

Postby samuel marquez8 » Thu Jan 04, 2018 9:39 pm

Good afternoon, the computer just shut me off when I saved a Lyx document and when I re-turned it on, loading the document left me the message that "it was not a readable Lyx document." How can I recover the document and be able to edit again? Many thanks in advance!

Pd: If someone wants the document to prove if it can open and upload a pdf version I would be very grateful.

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 8734
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Jan 05, 2018 1:49 am

Hi Samuel,

welcome to the forum!

Take a look if you can see a .lyx~ file, that is, with a tilde at the extension. This would be a backup file created by LyX that you could use. First of all, copy all the documents in the folder, such as on a flash drive, before you try anything. Try opening the .lyx~ file or remove the tilde and then open with LyX.

In general, make backup copies frequently.

Stefan
Site admin

User avatar
Stefan Kottwitz
Site Admin
Posts: 8734
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Jan 05, 2018 1:50 am

And have a look here, at this explanation in the LyX making list: https://www.mail-archive.com/lyx-users@ ... 78488.html

Stefan
Site admin

samuel marquez8
Posts: 3
Joined: Thu Jan 04, 2018 9:29 pm

Postby samuel marquez8 » Fri Jan 05, 2018 9:41 am

Hey Stefan, thanks for your help, but I still can not solve it. I work with Windows and I'm not very friendly with computers. On the other hand, Lyx kept the documents in three different formats: .lyx, .lyx ~ i .lyx #, even though it did the program independently of how it did.

I've been searching for backup copies in the lyx folder, but I have not found any documents. If he did not find it, nothing would happen, it's a 15-page job, of which only 6 are missing, because he had already saved the document in pdf but not complete. However, with more extensive faces, I'd like to know how I could recover the files.

Thank you again

User avatar
Stefan Kottwitz
Site Admin
Posts: 8734
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Jan 06, 2018 12:58 am

Perhaps look into those files with a simple text editor to see what's in there, a copy, a backup, or just a temporary file.

LyX files (and backups) are plain and readable text files, so you may get your text back from those, or copy and paste from the PDF export if it exists.

Stefan
Site admin

samuel marquez8
Posts: 3
Joined: Thu Jan 04, 2018 9:29 pm

Postby samuel marquez8 » Sat Jan 06, 2018 8:25 am

Thank you very much Stefan! I'm going to try it!

Sam


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 4 guests