Hi,
I made some test with lyx-1.4.0pre6 and notice the following problem: when lyx-1.4.0pre6 reads a file, written with lyx-1.3, if the file contain a environment with vertical spaces inside, then the environment is broken into peaces. I don't know if this is a known problem or if I am missing something... As you plan to release lyx-1.4.0 soon, I post it.
Here is an example with a proof environment:

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass amsart
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize a3paper
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 2.5cm
\rightmargin 1.5cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language french
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Proof
\added_space_bottom bigskip
Proof...
Proof...
Proof...
Proof...
Proof...
Proof...
Proof...

\layout Proof

Proof...
Proof...
Proof...
Proof...
Proof...
Proof...
Proof...
Proof...

\the_end

If I read this file with lyx-1.4.0pre6 and save it, I obtain:

#LyX 1.4.0pre6 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass amsart
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry true
\use_amsmath 2
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 2.5cm
\rightmargin 1.5cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language french
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes true
\end_header

\begin_body

\begin_layout Proof
Proof...
Proof...
Proof...
Proof...
Proof...
Proof...
Proof...

\end_layout

\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset


\end_layout

\begin_layout Proof
Proof...
Proof...
Proof...
Proof...
Proof...
Proof...
Proof...
Proof...

\end_layout

\end_body
\end_document

As you can see, the proof environment is broken into two proof environments. I test this with the enumere environment with the same result, if the space is inserted at the first level. If this appears many times in a large document and for several environments it can become a real problem... An other small thing which can be seen on this example is: by default I use A4 papersize, but the file uses A3 paper. This is forget by lyx-1.4.0pre6 which always uses the default papersize when it reads a lyx-1.3 file.

PhC

Reply via email to