On Mon, Jan 28, 2002 at 09:18:27PM +0200, Martin Vermeer wrote:
 
> I'll have a look at that tomorrow.
> 
> -- Martin

Having done so, it turns out that my original file contains a
sequence like

 
\layout Description

Some text...

\begin_deeper         <--
\layout Description   <--

\begin_float wide-fig 
\end_deeper           <--
\layout Standard
\align center 

\begin_inset Figure size 267 150
file SST.eps
width 4 90.00
flags 9

\end_inset 

\end_float 
\begin_deeper 
\layout Standard

Some more text...
\end_deeper 
\layout Description


...which my production LyX (still lyx-1.1.5fix1-1) approves and
renders without a hitch. It is wrong of course -- you cannot have
a figure as the first object (label) in a  description, as Herbert rightly
pointed out.

What is curiouser is however the \begin_deeper and \end_deeper
statements straddling the begin_float statement!

There were some error messages when loading the file:

Solitary \end_inset. Missing \begin_inset?.
Last inset read was: Formula
LyX: Missing \end_inset at this point. Read: `' [around line 75 of file
~/]
Solitary \end_inset. Missing \begin_inset?.
Last inset read was: Formula
LyX: Missing \end_inset at this point. Read: `' [around line 55 of file
~/]
Solitary \end_inset. Missing \begin_inset?.
Last inset read was: Formula
LyX: Missing \end_inset at this point. Read: `' [around line 41 of file
~/]

Perhaps related, perhaps not. The number of instances (3) seems right.

I wonder if this is worth fixing. It is illegal (or rather, legal but in the 
formally correct cvs1.2.0 interpretation, counter to the writer's intention) 
after all. But somewhere this should perhaps be documented for hapless users 
running into this. The fix is simple for the end user: change the layout of 
the figure from Description to Standard, while keeping the environment depth.

-- Martin

Attachment: msg32117/pgp00000.pgp
Description: PGP signature

Reply via email to