Bruce Pourciau wrote:
Sorry, here's my question with a corrected title:

When I try to open example lyx files posted on this list, I get a conversion script failure: "filename.lyz is from an earlier version of lyx, but the lyx2lyx script failed to convert it" I'm running LyX 1.4.1. Must I upgrade to 1.5?

Bruce


I suspect the error message is misworded. Most of the examples posted recently on the list have been in the current file format (current = used by 1.5.1 and 1.5.2; this is obviously a moving target). So the issue would be that the file was written in a later format, not an earlier one.

The lyx2lyx script has an optional argument indicating the format to which to convert. (It also has an optional from argument, though I don't see in the code where that is used. But then I don't really speak Python.) It might be that if you acquire just the lyx2lyx directory from 1.5.x, and have a reasonably up-to-date version of Python installed, you could convert recent files backward to 1.4.x. It looks to me as though the script I have in 1.5.2 is designed for backward as well as forward conversions. But the script that shipped with 1.4.x would not be able to convert to/from 1.5.x formats.

/Paul

Reply via email to