![](https://secure.gravatar.com/avatar/b1d6c7fd3f2c1695eff076f3ff897f34.jpg?s=120&d=mm&r=g)
It looks like the 'after' property of \setuphead can be used to override
Using the continue=no option of setuphead (in MKIV) didn't seem to work (not
sure why). What I did as a workaround was to a blank paragraph after each
heading (using 'after' in setuphead) and then packed the result. Not
necessarily an ideal solution, but adequate for what I needed.
\definehead[references][subsection]
\setuphead[references][after={ ~ }]
\startpacked % Get rid of large gaps between the references.
\dorecurse{10}{\references{Reference item}}
\stoppacked
-Lance
Am 01.05.2013 um 18:03 schrieb Lance Larsen
'keep with next' behavior of the headings.
No, you need the continue key to disable this feature. \setuphead[section][continue=no] Wolfgang
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 02.05.2013 um 00:01 schrieb "Lance Larsen"
Using the continue=no option of setuphead (in MKIV) didn't seem to work (not sure why). What I did as a workaround was to a blank paragraph after each heading (using 'after' in setuphead) and then packed the result. Not necessarily an ideal solution, but adequate for what I needed.
\definehead[references][subsection] \setuphead[references][after={ ~ }]
\startpacked % Get rid of large gaps between the references. \dorecurse{10}{\references{Reference item}} \stoppacked
What you’re doing is just wrong. The problem with your example is that it doesn’t demonstrate the problem because the is a page break between the headings. \definehead[references][subsection] \starttext \dorecurse{20}{\references{Reference item}} \stoptext One way to add a break before a heading is to change the before key to \setuphead[…][before={\blank[preference,…]}] Wolfgang
participants (2)
-
Lance Larsen
-
Wolfgang Schuster