On Thu, Mar 31, 2011 at 3:28 PM, Vincent van Ravesteijn <v...@lyx.org> wrote: > On Thu, Mar 31, 2011 at 3:21 PM, Richard Heck <rgh...@comcast.net> wrote: >> >> Tomasso noticed the following: If you are in math, then Insert>Math>Macro is >> enabled. If you select it, then what happens is that you get a math macro >> just before the inset you are in. This also happens with several other >> LFUNs. E.g., from within math, you can do Insert>Footnote, and then you get >> a footnote just before the math inset. If you check, you'll see that this >> works with lots of things. Almost everything, in fact. This happens because >> getStatus() first goes to the math inset, which decides it can't make a >> decision. We then go up the cursor stack, eventually finding the text inset, >> which says, sure, insert a footnote. It then gets inserted into that inset, >> at the right place. >> >> It seems very odd, however, and not what the user would expect. I'm not >> proposing to fix this by 2.0, but it seems like something that ought to be >> fixed. >> >> Opinions? > > This is by design. >
http://www.lyx.org/trac/ticket/704 Comment 3: They are still enabled in LyX 1.5svn but in contrary to comment 2, when you use them now the insets are created in front of the formula which is unproblematic. But to avoid confusions I think they all should be deactivated when being in math. Comment 6: In LyX 1.6.7 they are still enabled, but if you use them, they are correctly placed before the formula. -> mark this as fixed. Comment 8: My latest comment is indeed contradicting but as nobody complained about this in the last 4 years, it seems that this doesn't lead to confusions. But as I'm not really sure what to do here and thus reopen this bug now. Vincent