On 14/05/2014 3:01 a.m., Enrico Forestieri wrote:
On Tue, May 13, 2014 at 09:32:35AM -0400, Richard Heck wrote:
On 05/13/2014 04:08 AM, aparsloe wrote:
In a new document, place a math inset  inside another inset, say a
(yellow) note (although I discovered this with a math inset inside
a custom inset) and insert a formula that needs a symbol from
another package, say amssymb. In the attachments I've entered "1+1
\thickapprox 2". LyX displays the formula correctly
(cursor-inside.png) but when the cursor is placed outside the note
(cursor-outside.png) instant preview doesn't display \thickapprox
and you get what looks like "1+12". Changing the math option for
amssymb from "Load Automatically" to "Load Always" corrects the
display, but if "Load Automatically" means what it says, the
formula should really display correctly with that option.
I am pretty sure we ignore what's in notes, since these are not
going to be present in the output. Granted, that's an issue here,
but that's what the bug is: When "validating" for instant preview,
we need to include what's in notes.
Hmm... I would rather say that what's in notes should not be shown
as instant preview. This is because notes are omitted in the output
and thus also their requirements should.
Perhaps the choice of a note inset was a distraction. The problem arises for any inset (as far as I can see) that can contain a math inset, e.g. a float, a table, a custom inset.

Andrew

Reply via email to