Dear all, 

I’m finishing a book, and getting the following undesired result.
Many times I have section or subsection title at the bottom of a page, with no text. Text starts on the next page.
I have looked at 

http://wiki.contextgarden.net/Widows_and_orphans_control

but I wasn’t able to solve.

I guess it could depend on the formatting of my headlines. Here they are: 

\setuphead[section]
[style=\ss\tfa, before={\blank[0.5cm]\startframedtext[offset=0.25cm,framecolor=black,
rulethickness=0.01cm, frame=off, topframe=off,  bottomframe=on]\crlf},after={\stopframedtext\noindentation\blank[1cm]}]

\setuphead[subsection]
[style=\ss, before={\blank[0.5cm]\startframedtext[offset=0.25cm,framecolor=black,
rulethickness=0.01cm, frame=off, topframe=off,  bottomframe=on]\crlf},after={\stopframedtext\noindentation\blank[1cm]}]

thanks 

Best

-a-

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - StudiUm
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.fonurgia.unito.it/andrea/
--> http://www.flickr.com/photos/vanderaalle/sets/
--> http://vimeo.com/vanderaalle
--> andrea.valle@unito.it
--------------------------------------------------

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)



--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - StudiUm
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.fonurgia.unito.it/andrea/
--> http://www.flickr.com/photos/vanderaalle/sets/
--> http://vimeo.com/vanderaalle
--> andrea.valle@unito.it
--------------------------------------------------

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)