Jürgen Spitzmüller wrote:
rgheck wrote:
I think this patch will fix this bug. It outputs a newline before an
environment if there's a depth change. Should we do this only if the
depth increases, though? I'm not at all sure.
I guess this will work for the given bug. However, IMHO we need a more general
fix: The whole point of the check in TeXOnePar is that we do not want a
_blank_ line before certain environments (bug 4993). In the case which needs
fixing here (5436), the line is not blank, so we can (and should) break.
IMHO we should add a line break before \begin and \end tags in any case in
non-empty lines.
I agree, but...
Having said that, however, I fail to see how. Apparently we so not have the
necessary information (if a given TexRow is empty).
...this seems to be the same problem that Lars was bothered by.
rh