Hello,

I've been using Lyx for quite some time and I really like it!

Recently I discovered a bug in Lyx 1.2.0, looked on the web, saw that 
there is a Lyx 1.3.0 in the meantime and so upgraded to that
version, but the bug is still there.
Checked Bugzilla, but did not find this particular one.

Here is how you can reproduce the bug:

Create a new document in Lyx and just enter a math-formula.
Enter the formula:

\{l_2}^2

The \{ } part is supposed to mean, that the l_2 is inside {}s.
This gives you the letter l with index 2 raised to the power of 2, but
with the power a bit further to the right and not exactly above
the index. This is what I intended to get.
View this in DVI and it looks just fine.
Now save the Lyx document and load it again. The preview still 
looks fine, but when you view the file in DVI (or anything else)
you get the power 2 directly above the index just like you never
used the {} in the formula. Now save the Lyx file again and 
load it and now even the preview shows the power directly over the 
index.

In short: the {} in the math-formula are lost when saving.

This is what happens in the .lyx-file:

first save:
...
\begin_inset Formula ${l_{2}}^{2}$
\end_inset 
...

when you load this, the preview in lyx is still ok, but the
DVI-output is wrong already.

second save:
...
\begin_inset Formula $l_{2}^{2}$
\end_inset 
...

when you load this, both the preview and the DVI output
is wrong. (Of course, for the {} have been lost!)

I am using Lyx 1.3.0 (no CJK or some such) with Linux and qt3.
But the bug has already been in Lyx 1.2.0/Linux/xforms.

Hope this is not a known bug and I was just too stupid to
find it in Bugzilla.


Keep up the great work,

   Volker



Reply via email to