On Sat, Apr 03, 2004 at 01:19:49PM +0200, Lars Gullik Bjønnes wrote:
> 
> I think this has been reported before...

Indeed. And I haven't had time to fix it so far.

The problem is most likely an off-by-one (or two) bug in accessing the
cells of the script inset. A while ago, cell 0 was always the
subscript, cell 1 the superscript and cell 2 the base and there was some
extra code to handle 'missing' super/subscripts. Such code was also
necessary in the DocIterator, and it clearly doesn't belong there.

So now we have the base (which must exist) in cell 0. If there are both
sub- and superscript, the superscipt is in 1 and the subscript in 2, and
if there is just one of them, it's in cell 1. 'nargs' returns now 2 or
3 (not always 3 as formerly)

The access should go through some wrapper functions there (up/down(?),
don't have sources here...) and it looks like I f* something up there.

Andre'

Reply via email to