Page with subsection following a subsection
I would like to have a subsection start on a new page. This can be done with: \setuphead[subsection][before={\page}] But when I have had a section before the subsection instead of a subsection before the subsection, I do not want a new page. (Subsections I want to have divided, but the combo section/subsection not.) Is this possible? -- Cecil Westerhof
On 2011-06-07 Cecil Westerhof
I would like to have a subsection start on a new page. This can be done with: \setuphead[subsection][before={\page}]
But when I have had a section before the subsection instead of a subsection before the subsection, I do not want a new page. (Subsections I want to have divided, but the combo section/subsection not.) Is this possible?
Yes, it is: \setuphead [subsection] [page=yes] \starttext \dorecurse{5}{% \startsection [title=Sec] \stopsection \startsection [title=New Sec] \startsubsection [title=Sub Sec] \stopsubsection \startsubsection [title=New Sub Sec] \stopsubsection \stopsection} \stoptext Marco
participants (2)
-
Cecil Westerhof
-
Marco