0

So about a month ago, I made the transition from windows to linux mint. I'm transferring my old lyx files from my windows partition to my linux mint one, but I am unable to open any of them now. Opening them gives me this:

enter image description here

Clicking anything but "display" does nothing, while "display" opens up lyx with the following error:

enter image description here

Is there an easy way to convert them so that I can open them in linux? It's not a big deal, since these are just old projects, but I'd still like to be able to keep them around and open them without having to reboot to windows.

Thanks a lot!

  • 1
    the lyx error just says lyx is too old, can you not update lyx on the linux partition (I know nothing about lyx) – David Carlisle Nov 6 '17 at 23:19
  • Yup... that worked... I automatically assumed since I had downloaded Lyx through the software manager a few weeks ago it would be up to date. Uninstalled and reinstalled through the terminal and it's working fine. – Harry K. Nov 6 '17 at 23:35
  • 1
    sometimes error messages just mean what they say:-) – David Carlisle Nov 6 '17 at 23:47
3

The comment from David Carlisle is the answer: older LyX versions cannot read files that were saved from newer LyX versions.

This is not a Windows vs. Linux issue: You would have run into the same problem if you used a newer version of LyX on Linux to create files, and then tried to open those files on Linux with an older version of LyX.

This is an introduction to an issue that you will face a lot of Linux (at least, on Mint). Many versions of software in the repositories are years older than the newest version. To get the newest version of LyX on Mint, you should consider using a PPA:

From what I understand, Mint users can use Ubuntu PPAs. I suggest using the stable PPA. Instructions are here.

Longer explanation: LyX version a.b.c can for the most part only open files that were saved with LyX version x.y.z if a>=x and b>=y. For example, LyX 2.1.2 can open files created by LyX 2.1.3, but not files that were created by LyX 2.2.0.

An exception to the above is the last release of a series can open files from the next major LyX release. So LyX 2.1.5 can open files created by LyX 2.2.z, for any z, because 2.1.5 was the last release in the series.

Why does this restriction hold? Well, when LyX gets a new feature, it might need to change its file format if the older version can't support that feature.

By the way, welcome to Linux! It is normal that it takes you some time to figure out issues like these, but after you figure out a few of the transition issues you might find that you see your productivity (slowly) increase (some disagree though). Note that there are many Linux + LyX users on the LyX mailing list, including some knowledgeable Mint users. Feel free to subscribe.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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