On 04/28/2011 10:30 PM, Tommaso Cucinotta wrote:
Hi all,
a problem that comes to me from time to time is the one to open with
an older version of LyX a file generated with a newer one (i.e.,
trying to open with 1.6 files generated with trunk).
I'm astonished by the:
1) inability of lyx to even try anything: it just refuses to load
because of the unrecognized version (in the future);
2) simplicity by which I usually fix this: simply replace the
\lyxformat number with the older one, and now LyX does exactly what I
would expect from a "smart" tool: do the best to open the file, with
possibly some data loss.
Now, it seems LyX is indeed more intelligent than it actually seems
apparently to be, indeed the attached patch simply realizes the
behavior 2). Of course, I'd be much more interested in seeing this
backported to 1.6, anyway...
What is wrong with such an approach ?
There's an even better solution: Copy current lyx2lyx from trunk. So let
me ask this question: Is there any real reason not to backport lyx2lyx
to branch as it changes?
Richard