>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> There are still nesting errors with nesting list like
Georg> environments. They are different than without the patch. I will
Georg> have a look at that again, but it would be nice if somebody who
Georg> understands need_deeper, deeper_paragraph, etc. better could
Georg> help. Apart from nesting the round-trip on the Userguide is
Georg> better than before.

*sigh*. This has to be me :( I propose that we apply your patch first
(maybe with a change of the space handling as discussed with andre?).

I had actually a different idea for solving the
extra-space-at-end-of-paragraph problem: 

- add a need_space member to Context

- when encountering a \n, set need_space to true

- when doing check_layout(), if need_space is true then
   * if need_layout is true, reset need_space to false
   * otherwise, output a space and reset need_space to false

Would that work? It seems reasonably simple now that we have the
necessary machinery.

JMarc

Reply via email to