Am 25.07.2008 um 10:39 schrieb Wolfgang Schuster:
On Fri, Jul 25, 2008 at 10:33 AM, Steffen Wolfrum
wrote: Am 25.07.2008 um 10:25 schrieb Wolfgang Schuster:
On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum
wrote: ... yes, but Hans said so (see my email quoting him)!!!
What did he mean? Do you know an other solution?
\defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf}
\definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}]
Not sure about the order in the blank command but this should work.
Hmm, I think I have tried all possible combination now but it does not work. Did you try?
\starttext
\defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf}
\definehead[myhead][section] \setuphead[myhead][after={\blank[nobreak,endgraf,big]}]
\input tufte \par \input knuth \par \input tufte \par \input knuth \par
\myhead{Sektion}
\index{Index}
test
\stoptext
Steffen
You're looking for http://wiki.contextgarden.net/Registers#Technical_note
ok, but this was just one easily reproducible example of troubling situations. For another is \vskip, as sometimes the distance between two heading must be smaller than the normal space above or below: \subsection ... \vskip-14pt \subsubsection ... In this situation I always experience the same problem: you have a heading at bottom of page :o( I just didn't manage to show this with an minimal example. Steffen