See http://mathematik.htwm.de/tmp/mathed78.diff [.gz]

Changes against 77 wrt Dekel's bug list:

> > Array/eqnarray:
> > 
> > - Reading a file with a math array ALWAYS gives a crash.

Fixed.
 
> > - You cannot select more that one cell in an array/eqnarray.

Not fixed. Will stay until cursor is reworked.
 
> > - Pressing C-Return in an array inside display formula, transforms the
> > formula to eqnarray (while previously, it would add a row to the
> > array).

As intended.

> > - Pressing C-K at the end of the last cell on a row deletes the row.
> > Previously, it used to delete the row below, and put its content at the end
> > of the current cell.

As intended.

> > - Suppose that you have an array
> >  xyz 1 ...
> >  abc 2 ...
> > 
> > and the cursor is between y & z. Pressing down will move the cursor to the
> > beginning of the cell below (before the a), and not to between b & c as
> > expected.

Not fixed. Will stay until cursor is reworked.
 
> > - math-number only changes the numbering of the current row, and
> >   math-nonumber doesn't do anything
> > (math-number should disable/enable the numbering for all previously numbered
> > rows, while math-nonumber should enable/disable numbering of current row)

Back to old behaviour, i.e. "fixed".

> > - The align env. is created with 3 column and not with 2

Fixed.

> > - Pressing 'M-m d' (math-display) inside a math inset should convert the
> > inset between display/inline mode.

Sort of fixed.

> > - Creating a displayed equation creates a numbered equation. The default
> > should be unnumbered.
> 
> Why? Latex "default" is the unstarred version, i.e. numbered.

Changed back to old behaviour, i.e. "fixed".

> > - When you save an unnumbered equation or eqnarray, after reading the file
> > they become numbered.

Fixed.
 
> > - The empty box for an empty \left( \right) is incorrectly drawn (see bug.gif)

Fixed.

> I guess most of the font size stuff is not rendered properly yet.

Not fixed.
 
> > - Instances of the builtin macro binom are drawn incorrectly

Fixed.


Remaining:
 
 Critical:
  none
 
 Broken: 
 - font sizes
 - moving cursor up/down in arrays
 
 Disputable:
 - behaviour of C-Return
 - behaviour of C-K
 
> I will try to fix 'Critical' and 'Broken' (maybe except the font size
> things) and ask for commit to CVS afterwards. 

So. We are basically there. 

The whole font size thingy need to be reworked somehow. I think it could be
moved to the Metrics() functions, but I do not want to experiment in such a
scale (i.e. most constructors and Metrics() touched again) unless I have a
safe harbour in CVS. Since it does affect display only, there is always
the simple fallback "disable fontsizes for display" which could be
"implemented" in half an hour.

The cursor up/down thingy is not really nice, but I don't think it is
critical. The same holds for the remaining "Disputable" items.


I think this patch could go into CVS as-is.

[Well, maybe someone should check first that I added all new files]


Apart from the open issues there is quite a lot of cosmetics necessary,
some classes (like MathMatrixInset) are clearly mis-named. The parser still
accepts tokens that are not valid LaTeX and looks still ugly...
But this could happen in smaller chunks and are not strictly necessay for a
prerelease.

Andre'

-- 
André Pönitz ............................................. [EMAIL PROTECTED]

Reply via email to