Jean-Marc Lasgouttes wrote: > It is completely different: dEPM disallows things that have _no_ > meaning to LaTeX (like double space). And empty math inset is > acceptable, even if it is most of the times not wanted.
sure, perhaps latex permits this but when would you want to create an empty math inset? > I see two solutions: > > 1/ an _empty_ math inset (not $\ $!) is removed when leaving it with > the cursor. This is already what happens with the script inset. > > 2/ an _empty_ math inset (not $\ $!) does not get a preview. > > None of these solve the problem for an inset containing a hard space, > but those who ask for trouble deserve it. maybe we should disallow a space after a backslash in math? or are there situations where this makes sense?