Current CVS expects all documents to start with a \layout, signifying the start of a new paragraph. Some older documents don't actually do that, the subcaption testcase being a case in point.
Can some lyx2lyxer sketch out a fix for this ? thanks john
