Am Sonntag, 5. Februar 2006 11:11 schrieb Georg Baum:
> Am Samstag, 4. Februar 2006 18:39 schrieb Georg Baum:
> > Am Samstag, 4. Februar 2006 18:18 schrieb Jean-Marc Lasgouttes:
> > > 
> > > I propose to use
> > > \begin_layout
> > > without any name. "" is not good
> > > because it is read explicitely.
> > 
> > Then I misunderstood, sorry.
> >  
> > > The empty layout name should be
> > > intrpreted as defaultLayout in getLayout, but should be saved again 
as 
> > empty layout name.
> > 
> > Unfortunately this does not work always. See the attached example 
(from 
> > the userguide). This is actually worse then the unknown layout, since 
> the 
> > brace will be swallowed.
> 
> This is only the case when no empty line follows after '\\begin_layout'. 
> The attached patch makes sure that lyx2lyx does always insert an empty 
> line when it inserts '\\begin_layout'. It has the further advantage that 
> it fixes bug 2088, too.
> I did not hardcode the empty layout name, but used file.default_layout, 
so 
> that it can easily be changed in the future if needed.
> 
> Last proposal from me concerning this bug: Apply this patch, I tested it 
> with all files in my test directory. OK?

Lars, Jean-Marc?


Georg

Reply via email to