On Monday 06 June 2005 17:51, Georg Baum wrote: > I had a look at how files with the wrong version are read in 1.4. It is > different than in 1.3, newer files are not read at all and not treated as > if the format was current. The change is here: > > http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/buffer.C.diff?r1=1.5 >12&r2=1.513
And why should them be read if they are newer? It was me who motivated Lars to do this change. The argument is simple, every knowledge about the lyx file format should go into lyx2lyx. > Lars, was that intended or only a side effect? If this is what we want > I'll replace lyx2lyx in 1.3 by the 1.4 version and adapt the code in > buffer.C to it, if not I am going to implement a commandline switch of > lyx2lyx that tells it to convert to the best matching format if the > desired format is not possible an use that in 1.3 and 1.4. I would prefer this solution. After all how do you decide the file is newer? Knowing the format of every file header? But then this is exactly the reason why lyx2lyx was created in first place, to relieve lyx from knowing every possible lyx format.... > Georg -- José Abílio