Bo Peng wrote: > Along the same line, is there any way to prevent a user from using a > environment in the wrong context? For example, inserting a marginal > note in a float figure is not allowed in latex, but can be done in > lyx. Maybe we can disable certain environment/menu items dynamically. > (I think this is true at some level but I do not know the details.)
Please file this in bugzilla if it is not already there. I don't know if it is currently possible to prevent things like this. > Please allow me to re-iterate again here my expectation about lyx: > there should be no latex error from normal user input, which means > anything except for ERT and preamble manipulation. Agreed. Georg