Re: mathed LabelInset...

2003-03-05 Thread Angus Leeming
On Wednesday 05 March 2003 12:39 pm, Andre Poenitz wrote: > On Wed, Mar 05, 2003 at 12:33:59PM +, Angus Leeming wrote: > > Thanks for the info. You make it sound like IU could be done with > > relatively little effort once the mathed XYZinset equivalent of insetXYZ > > has been created. > > For

Re: mathed LabelInset...

2003-03-05 Thread Andre Poenitz
On Wed, Mar 05, 2003 at 12:33:59PM +, Angus Leeming wrote: > Thanks for the info. You make it sound like IU could be done with relatively > little effort once the mathed XYZinset equivalent of insetXYZ has been > created. For the leaves in the inset tree certainly. The upper layers require t

Re: mathed LabelInset...

2003-03-05 Thread Angus Leeming
On Wednesday 05 March 2003 12:21 pm, Andre Poenitz wrote: > On Wed, Mar 05, 2003 at 11:55:01AM +, Angus Leeming wrote: > > Incidentally, what needs to be done to unify InsetRef and RefInset? Do > > we need a placeholder in the outside world analogous to formalabase? > > Aehm, of course a lightw

Re: mathed LabelInset...

2003-03-05 Thread Andre Poenitz
On Wed, Mar 05, 2003 at 11:55:01AM +, Angus Leeming wrote: > Incidentally, what needs to be done to unify InsetRef and RefInset? Do > we need a placeholder in the outside world analogous to formalabase? Aehm, of course a lightweight copy of formalabase that contains a RefInset instead of the M

Re: mathed LabelInset...

2003-03-05 Thread Andre Poenitz
On Wed, Mar 05, 2003 at 11:55:01AM +, Angus Leeming wrote: > > If we really need 'one or zero', MathArray would be the way to go. > > But I doubt this is possible, as the empty label string can serve the same > > purpose. > > Ok. I''ll think about it. Aehm.. I wanted to ssay: But I doubt th

Re: mathed LabelInset...

2003-03-05 Thread Angus Leeming
On Wednesday 05 March 2003 11:39 am, Andre Poenitz wrote: > > Ditto, the LabelInset can now be removed. How do we tell the > > mathhullinset that the LabelInset in the MathAtom is now gone? > > Reset the label to an empty string and let the write/whatever method handle > that case. There is no "emp

Re: mathed LabelInset...

2003-03-05 Thread Andre Poenitz
On Wed, Mar 05, 2003 at 11:25:39AM +, Angus Leeming wrote: > Ignorance. A MathAtom would just contain a LabelInset* in this case, right? Yes, with value semantics. Otherwise tyou would have to start writing c'ctor, operator= and dtor. > 'Apply' is a bit complicated as the mathhullinset's dis

Re: mathed LabelInset...

2003-03-05 Thread Angus Leeming
On Wednesday 05 March 2003 11:08 am, Andre Poenitz wrote: > On Tue, Mar 04, 2003 at 07:10:56PM +, Angus Leeming wrote: > > * InsetLatex::latex escapes the contents of the label. Should I create a > > write method for LabelInset that does the same with the contents of > > cell(0)? > > I dont thi

Re: mathed LabelInset...

2003-03-05 Thread Andre Poenitz
On Tue, Mar 04, 2003 at 07:10:56PM +, Angus Leeming wrote: > * InsetLatex::latex escapes the contents of the label. Should I create a > write method for LabelInset that does the same with the contents of > cell(0)? I dont think so, as cell(0).write() produces valid LaTeX per se. > * In m