On 05/30/2013 02:31 PM, Georg Baum wrote:
Richard Heck wrote:
Sorry, this has been discussed a lot on the list, and I expect JMarc to do this 
fairly soon. The need to commit was driven by a need for testing.
I don't se any problem with this. In any case, it was better to keep an
outdated tex2lyx than to pretend that it produces current file formats
without implementing the needed support.

Merely incrementing the version number would have caused tex2lyx to produce unusable files. They are valid, in that it's perfectly possible to define a Chunk layout. But the layout files no longer contain such a definition, so they would not be read correctly.

Won't tex2lyx forward whatever it creates to lyx2lyx, if need be? If
not, it really should.
tex2lyx does not do it, but if LyX reads an old file it will do it, so
everything works well here.

So let me just be clear: As things presently are, viz:

#define LYX_FORMAT_LYX 474 // rgh: dummy format change for Chunk switch
#define LYX_FORMAT_TEX2LYX 473

what tex2lyx will do is produce a file with version 473. LyX will then attempt to read this file, and in doing so will call lyx2lyx, to convert it to version 474. If so, then there is no problem here, so far as importing TeX documents is concerned.

This is how I thought things were, anyway, which is why I did not think the timelag until JMarc redid the tex2lyx stuff was a problem.

Richard

Reply via email to