On Tue, Jan 22, 2002 at 03:40:53PM +0100, Jean-Marc Lasgouttes wrote: > Herbert> Remember that I never changed the read-code of the tabular. > Herbert> So it's a good question, why to write a lot of code when it's > Herbert> not important for reading??? > > Because if we decide in lyx 1.3.0 that some bool should be true by default > instead of true, then we have big problems when reading old files.
I don't see a reason why the default values should be changed. When you create a table in 1.3.0, will every cell be a multicolumn by default ? > What could be done maybe is to output at the beginning things like > <defaults> > <column alignment="center" valignment="top" leftline="true" rightline="false" >width="0pt" special=""> > <trow topline="true" bottomline="true" endhead="false" endfirsthead="false" >endfoot="false" endlastfoot="false" newpage="false"> > <cell multicolumn="0" alignment="center" valignment="top" topline="true" >bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" >width="0pt" special=""> > </defaults> You can tell what where the default value according to the format number. Anyway, I do wish to add don't-write-default-values code now. I actually created a patch for this for 1.1.6, but you told me not to apply it due to to the same reasons. If we don't add such a code now, it might take more than a year before we have a sensible file format. And don't tell me that it doesn't matter that the file format is a total bloat. If I were seeing lyx now for the first time, I might have decided not to use it due to the file format bloat.
