# [NTG-context] Breaking large equations across pages

Fri Apr 28 01:28:07 CEST 2006

Pagebreak of formula across pagebreaks is broken in the new release
(ConTeXt  ver: 2006.04.27 15:59).

Consider
\starttext
\placeformula \startformula \startalign
\dorecurse{50}
{\NC a \NC  = b \NR[+]}
\stopalign \stopformula
\stoptext

(This used to work earlier, I can not test this, but I have document
where the display broke across pages. Can somewith with an old ~ Mar,
2006 release test this?)

Also, is it possible to have more control over where the display
breaks. With latex, I can force equation break by using
\allowdisplaybreaks[1|2|3|4]

\documentclass{article}
\usepackage{amsmath}
\allowdisplaybreaks %<------------ Try with and without this.
\begin{document}
\begin{align}
a &= b \\
% Paste the above line 50 times
a &= b
\end{align}
\end{document}

Ideally, context should also provide something configurable. Maybe, it
should be part of
\setupformulas[displaybreak=tolerant|verytolerant|strict|verystrict]

Also there should be something like

\NC .... \NR
\allowdisplaybreak[yes|no|disable...same meaning as in \page[....]
\NC ..... \NR

to have more control over the pagebreak.