Hi Nick, Nick Dokos wrote: > Sebastien Vauban <wxhgmqzgw...@spammotel.com> wrote: > >> You cannot reproduce it, because I misplaced the call to mykeewithnextpar: it >> must be between the two things you want to see glue'd together. >> >> Hence, in the example you mention, it works perfectly. > > No, that's not what I'm talking about: I'm not using your mechanism at > all (note the disabling ## in front). What I'm saying is that I find it > exceedingly difficult to reproduce the behavior the OP reported at all: > no tricks, just export to LaTeX and process. That's why I wanted to see > an example of the input file.
OK. Sorry for misreading... > My contention is that LaTeX is pretty good at keeping things together > that should be together, so the misbehavior indicates some *other* kind > of problem: e.g. there is a fairly well known problem that causes all of > the figures to end up at the end of the chapter, because the constraints > imposed by the user make it impossible to DTRT. Things that can easily make LaTeX become crazy is changing the color of the titles. In such a case, LaTeX will allow much more easily to break after the title, even if at bottom of page, as changing color somehow affects penalty. Best regards, Seb -- Sebastien Vauban