LyXHelp! I can't open my file

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
kwhl
Posts: 2
Joined: Fri Aug 28, 2009 11:54 pm

Help! I can't open my file

Post by kwhl »

Hi. I am writing my very first serious Lyx document for my CV. All was well and I was having fun until tonight when I tried to open it, an error message popped up saying :

xxxxxx.lyx is not a readable document.

What is going on? How can I fix this problem? I don't really want to start it over again. I have spent quite a few nights on it already. :(

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Help! I can't open my file

Post by meho_r »

I can't test this since I don't have any problematic lyx file, but you may try converting it to .tex file and then importing in LyX. Convert it from Terminal if you're using linux, or Command Line on Windows:

Code: Select all

lyx --export latex path-to-file.lyx
Replace path-to-file.lyx with actual path to the problematic .lyx file.
kwhl
Posts: 2
Joined: Fri Aug 28, 2009 11:54 pm

Re: Help! I can't open my file

Post by kwhl »

It still doesn't work though. This is what I got:

Error: Document format failure
----------------------------------------
xxxx.lyx is not a readable LyX document.

Helen
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Help! I can't open my file

Post by meho_r »

Maybe to ask at LyX's mailing list? Perhaps some of its devs can help you.
Post Reply