Re: regression in mathed for unknown math environments

2005-02-23 Thread Juergen Spitzmueller
Georg Baum wrote: > This is in. Now I'm waiting for André to explain the math_parser change, > then this regression is gone! This also fixes bug 1791. Good work! Jürgen > Georg

Re: regression in mathed for unknown math environments

2005-02-23 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> Updated patch attached. > > Looks good. This is in. Now I'm waiting for André to explain the math_parser change, then this regression is gone! Georg

Re: regression in mathed for unknown math environments

2005-02-23 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Updated patch attached. Looks good. JMarc

Re: regression in mathed for unknown math environments

2005-02-23 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Is the class name mix intended? Of course not. And it does not even compile. I removed insetcaption a long time ago from Makefile.am, because it cannot be inserted from within LyX anymore. It can be read from a .lyx file however, and I was too lazy to check wether it

Re: regression in mathed for unknown math environments

2005-02-22 Thread Jean-Marc Lasgouttes
Georg Baum wrote: I am going to apply the attached patch tomorrow if nobody objects. Is the class name mix intended? +auto_ptr InsetCaption::doClone() const +{ + return auto_ptr(new InsetListing(*this)); +} JMarc

Re: regression in mathed for unknown math environments

2005-02-22 Thread Georg Baum
Am Dienstag, 22. Februar 2005 19:47 schrieb Lars Gullik Bjønnes: > Georg Baum <[EMAIL PROTECTED]> writes: > | I guess the assert in InsetBase::clone() should prevent sclicing? Does this > | assert mean that all insets should have a doClone method? > > Only all that can be instantiated. > > One o

Re: regression in mathed for unknown math environments

2005-02-22 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | The latest tex2lyx example by Paul Smith showed that we have a regression in | mathed: Unknown math environments trigger the assert in InsetBase::clone() | (you can try it with the attached file which works in 1.3) > | The reason is that MathParInset has no