![](https://secure.gravatar.com/avatar/178537b38d41da9137e5dc3231557708.jpg?s=120&d=mm&r=g)
Hans Hagen
At 15:46 19/04/2003 +0200, you wrote:
Hans Hagen
writes: At 19:26 18/04/2003 +0200, you wrote:
Hello.
I many of my documents I use \startformula and \stopformula to get displayed mathematics. But I would like to be able to discourage ConTeXt to insert page breaks just before \startformula. Is there any easy way to do this?
maybe \page[no] helps
Yes, that helps, but is there a way I can discourage ConTeXt to insert page breaks before *every* \startformula?
\setupformulas[before={\page[no]}]
I cannot make it work unless I place the \page[no] explicitly; see the example below. \setupoutput[pdftex] \enableregime[il1] \setuppapersize[A4][A4] \setupbodyfont[cmr,10pt] \setupspacing[packed] \setupinterlinespace[medium] \setupindenting[medium] \indenting[yes] \setupspacing[packed] \setupformulas[before={\page[no]}] \starttext \showframe \dorecurse{60}{ mmmmmm mmmmmmmm mmmmmmmmmm} \input tufte \page[no] \startformula a=b \stopformula \input tufte \stoptext -- Emil Hedevang Lohse http://home.imf.au.dk/emil/ Alle spørgsmål er lige dumme. Og spørgsmålet "Kan ænder flyve?" er ikke dumt.