On Wed, Feb 06, 2002 at 02:18:34PM +0100, Carlo Ferri wrote:
> Both the hints:
> 1) C-m
> 2) C-m
> 3) H
> and
> 1) C-m
> 2) M-m r (M-c r as in the user guide)
> 3) H
> Seems to work fine. They seem to produce the same character, so I think to
> use both.

In fact, they should be handled identically internally.

> I checked my previous .lyx file (using less <filename.lyx>) and I paste here
> below two of the section that were critical:
> 
> ---------------------------------------------------------
> the lyx code:
> 
> \begin_inset Formula \( \textrm {K}\left( \mu ^{2}+\sigma ^{2}\right)  \)
> \end_inset
> 
> results in:
> 
> formula disappeared after saving the file, closing it and re-opening it.
> ---------------------------------------------------------


This seems to be indeed a problem of the old mathed parser. The formula
is read back correctly when '\textrm {K}' is replaced by '\textrm{K}'.

Unfortunately there is no way to fix this in the 1.1.6 series. [1.2.0 cvs
reads it fine]

You could try to globally replace the 'extraneous' space by some external
tool like

 perl -pi -e 's:\\textrm :\\textrm:g' your_file.lyx

Another option would be to switch to 1.2.0cvs right now. But I understand
that both 'solutions' might not be satisfactory. Sorry.

Andre'

-- 
Andr� P�nitz .............................................. [EMAIL PROTECTED]

Reply via email to