On Tue, Mar 16, 2004 at 11:40:39AM +0100, Wolfgang Engelmann wrote:
> could somebody tell me why I get an error by using the second equation in the 
> added lyx-file?
> 
> This is the relevant part of the lyx-file:
> \layout Standard
> If I take the second equation out, dvi gives no error. 
> \layout Standard
> \begin_inset Formula R=Rh/2+(ZZ-4)
> \end_inset 
> \layout Standard
> but with this one it gives errors
> \layout Standard
> \begin_inset Formula R=Rh/2+(ZZ-4)+K_{ab} 
> \end_inset 
> I am using Lyx Version 1.3.2 Mai 2003 and Mandrake 9.2

This should read

 \begin_inset Formula $R=Rh/2+(ZZ-4)$
 \end_inset 
 \layout Standard
 but with this one it gives errors
 \layout Standard
 \begin_inset Formula $R=Rh/2+(ZZ-4)+K_{ab}$

Note the extra '$...$'.

Without these, you end up in math text mode (indicated e.g. by the
upright black text instead of 'math blue italics'). An underscore within
math text usually creates trouble.

You can convert your formulas with 'M-x math-mutate simple' (or M-m t i)
or if you have lots of them by search&replace in the .lyx file.

Andre'

Reply via email to