Fixing a bug reported by Jeremias affecting the handling of glue and penalty elements after a break when the algorithm restarts.

Now it should be ok. A nasty little bug, anyway ...

Unfortunately, I had to duplicate a few lines (a for loop looking for glue elements after a feasible break): the point is that there are three different variables (the width, stretch and shrink) that must be modified during this loop.

I'm going to see if there is some possible refactoring of this piece of code.

Regards
    Luca

Reply via email to