(oops, sent to wrong mailbox due to reply-to settings)

On 2 Feb 06, at 00:09, Helge Hafting wrote:

Marc D. wrote:

I have created a rather large lyx file (all my course notes). In one section, I can't get it to work. I have reduced the problem to a minimum. There are 3 characters on my screen, in two lines.

I get SIX errors with those 3 characters.

Answer: it's the \textmf that causes ALL six errors. (and all 35 errors in my original file). All from a a single, obviously misplaced, \textmf tag that I DID NOT INSERT (or knowingly insert. I don't USE different fonts in my document!)

Seems you have found a bug in lyx, then.

When I write 2^Q (in math mode), I get something that works. However, if I select the formula and change the font, I do get the same problem as you.
This problem exists in lyx 1.4 too.

If, however, I write 2^Q as text, then select it and press ctrl+M (to turn it into a formula, then I also get that problem. This time without doing any font change. This problem does not exist in the soon to be lyx 1.4, so it will go away.

So I suggest, as a workaround, that you press ctrl+M first, then type your formula in math mode. Then it will work.

This is what I always do. I never select text and then use ctrl-M, as I find
it rarely "does what I wanted"

You may also note that a formula _not_ using
the troublesome \textrm will show up as blue in the lyx window, where the
wrong formulas are black.

It's a very dark blue then, because it looks quite black on my screen.

Thanks to George for pointing out the bug (I need to learn to check
bugzilla BEFORE posting to the list!).

I'm off to battle. Thanks all for your help.

Reply via email to