Hello LyXers,
I just updated my (still german) LyX-Mathed documentation:
http://wiki.lyx.org/pmwiki.php/LyX/LyXMathebefehle
When I open the documentation with LyX, I get the following warning in LyX's debug window:
-----------------------------------------------------------------------
unusual contents found:
[unknown raisebox]
[block [char 6 mathalpha][char m mathalpha][char m mathalpha]][block ]
[fbox [formula simple [grid [row [cell [symbol int][char A
mathalpha][char = mathalpha][char B mathalpha]]]]] ]
[unknown raisebox]
[block [char - mathalpha][char 4 mathalpha][char m mathalpha][char m mathalpha]][block ]
-----------------------------------------------------------------------
The problem is the first formula in the table of chap. 9.1. When I delete the formula from the table, LyX wouldn't give the warning.
When you look at the trouble-making formula, you will see, that the arguments of \raisebox are set upright and black instead of italic and blue, like in a normal formula. When I try to rewrite the formula, all seems to be fine. But when reopening the document, the \fbox is destroyed: The content of the box is placed outside.
As testcase I attached a lyx-file with a displayed formula, created with the following command sequence:
S-C-m A=\fbox C-m \int B ->-> =A
When you open the document, you will see an inlined formula. The integral is outside the box and the second 'A' appears upright and black.
The box will also be destroyed, if one try to copy it into another formula.
There is a bug report for this: http://bugzilla.lyx.org/show_bug.cgi?id=1595#c6
I have also trobles with other boxes in formulas, which I reported in the following bug:
http://bugzilla.lyx.org/show_bug.cgi?id=1435#c4
As the two bug reports are never confirmed, does LyX for Linux/Mac doesn't have these problems?
I hope someone can verify my problem or help me. regards Uwe
p.s. If these problems are solved, I'll start to translate my documentation into english if somebody is interested in.
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle empty \bullet 1 1 34 -1 \end_bullet \bullet 2 2 35 -1 \end_bullet \bullet 3 2 7 -1 \end_bullet
\layout Standard result after reopening the document: \begin_inset Formula \[ A=\fbox{$\int B$}=A\] \end_inset \layout Standard But I created a formula with this LaTeX code: \begin_inset ERT status Collapsed \layout Standard \backslash [ \newline A= \backslash fbox{$ \backslash int B$}=A \newline \backslash ] \end_inset \the_end