On Sat, Jan 28, 2006 at 01:28:33PM +0200, Martin Vermeer wrote: > On Sat, Jan 28, 2006 at 11:30:13AM +0100, Georg Baum wrote: > > Am Samstag, 28. Januar 2006 11:09 schrieb Martin Vermeer: > > > Do we have a working prototype for this? > > > > Not yet. > > > > > It seems like a good solution. > > > > It is not as easy as we thought: In order to know the textclass and pass > > it to lyx2lyx LyX has to read parts of the header of the file. I don't > > like that, because LyX does not (and should not) know anything about old > > file formats. > > Not good. > > Wouldn't it then be easier to choose the solution where a Standard > layout is added if it isn't found in the layout file, with a "don't > display" attribute to keep it out of the pulldown list?
Forget the above. Have a look at the g-brief-de/en.layout files. There is a definition DefaultStyle Brieftext lyx2lyx should read this line and do the right thing!!! - Martin
pgpWxoUed4ic9.pgp
Description: PGP signature