5 Nov
2008
5 Nov
'08
10:13 a.m.
On Wed, Nov 5, 2008 at 10:57 AM, Marcin Borkowski
Dnia Tue, Nov 04, 2008 at 11:25:17PM +0100, Wolfgang Schuster napisał(a):
\def\doPutTitle#1% {\framed[frame=offwidth=\textwidth,align=middle]{#1}% \blank[nobreak,line]}
And what to do if I want to use a similar to above command in
\def\doPutTitle#1#2% {\framed[frame=offwidth=\textwidth,align=middle]{#1\space#1}}
\setuphead[chapter][command=\doPutTitle]
to avoid a page break right after the title?
ConTeXt already tries to avoid page breaks after headers. Wolfgang