Angus Leeming wrote:

> There are some clear differences between the two files, although
> I don't know how important these are.

Some of the differences are empty font changes and not important at all.
There are also one character font changes. These are due to a bug of LyX:
http://bugzilla.lyx.org/show_bug.cgi?id=1428 The empty font changes are
probably related to this bug, too.

> Here's some of the differences from the first few pages of the diff file.
> Angus
> 
> -\use_amsmath 0
> +\use_amsmath 1

The logic for detection of amsmath in preamble.C is wrong.

> Note insets dissappear. No surprise there then.
> 
> The InsetFoot on the Author line is converted to ERT.

Will have a look.

> Vast numbers of
> +\family default
> 
> 
> -\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
> +
> +
> +\begin_inset ERT
> +status Collapsed
> +
> +\layout Standard
> +
> +\backslash
> +vspace{0.3cm}
> +\end_inset
> +
> +
> +\layout Standard
> +\align center

This is lyx2lyx. The conversion of the insetvspace to \added_space* could be
improved (but works quite well in may cases).
 
> This one looks like a clear bug, no?
> \begin_inset  Tabular
>   <lyxtabular version="3" rows="10" columns="5">
>   <features>
> -<column alignment="center" valignment="top" leftline="true"
> rightline="true" width="0pt"> -<column alignment="center" valignment="top"
> leftline="true" width="0pt"> -<column alignment="center" valignment="top"
> leftline="true" width="0pt"> -<column alignment="center" valignment="top"
> leftline="true" width="0pt"> -<column alignment="center" valignment="top"
> leftline="true" rightline="true" width="0pt"> +<column alignment="center"
> valignment="top" leftline="true" rightline="true" width="0"> +<column
> alignment="center" valignment="top" leftline="true" rightline="true"
> width="0"> +<column alignment="center" valignment="top" rightline="true"
> width="0"> +<column alignment="center" valignment="top" rightline="true"
> width="0"> +<column alignment="center" valignment="top" rightline="true"
> width="0">
>   <row topline="true" bottomline="true">
>   <cell alignment="center" valignment="top" topline="true"
>   bottomline="true" leftline="true"
> rightline="true" usebox="none">

Yes. This is probably the broken column detection code. Expect a patch in
the next days.

>   \begin_inset Text
> 
> Perhaps these are just default values that aren't needed?
>
>   \family sans
> -\series medium
> -\shape up
> -\size normal
> -\emph off
> -\bar no
> -\noun off
> -\color none
>   Sides
>   \end_inset

Yes. I don't know where they come from. I guess this was a table cell?


Georg


Reply via email to