On Mon, Oct 20, 2003 at 05:03:19PM +0200, Jean-Marc Lasgouttes spake thusly: > > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> I am pretty confident about this one; it fixes things cleanly > Martin> in the right places with a minimum of fuss. > > Martin> Attached the slightly cleaned up patch with changelogs. This > Martin> handles now mathinsets, footnote-like and floats. We can > Martin> extend this as we go. > > How does this interact with isNewline()? As far as I can see, > isNewline tells to break row after inset, whereas display() asks for > breaking both before and after inset. Couldn't these two get merged > somehow? > > JMarc
Perhaps... but I don't see any straightforward way to do that. display() actually does a lot more: prevent stretching in block mode of the *previous* line, where isNewline() prevents stretching of *its own line*. I looked a bit at this, but I don't see how to do it and make things actually simpler. isNewline() is called in a lot of places... I wonder why. But I am reluctant to touch it in this context. Now John's idea of using helper functions... - Martin
pgp00000.pgp
Description: PGP signature