On Tue, Mar 25, 2003 at 01:19:05PM +0000, Jos? Matos wrote: > > 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 ? > > This should be easy. Do you have any testfile that shows this.
Example attached. > The next question is: what was the last version where this kind of documents > were allowed (created ?!). No idea, sorry :( regards john
#This file was created by <grabner> Fri Feb 15 14:09:56 2002 #LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team \lyxformat 2.15 \begin_preamble \end_preamble \language default \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \begin_float fig \layout Standard \align center \begin_inset Figure size 142 200 file image1.eps subcaption This is the first subcaption. width 3 24 flags 9 subfigure \end_inset \begin_inset Figure size 142 200 file image2.eps subcaption This is the second subcaption. width 3 24 flags 9 subfigure \end_inset \layout Caption This is the figure caption. \end_float \the_end