Index entries messing up page breaks
![](https://secure.gravatar.com/avatar/0ed499139c984ed1c5c6312376a707e5.jpg?s=120&d=mm&r=g)
The manual suggests that you can put index calls between a \section heading and its first paragraph without worry, but for me it breaks the page-breaking mechanism, allowing the section title to end up at the bottom of a page like this: \starttext \section{Tufte} \dorecurse{4}{\input tufte \par} \section{Knuth} \index{Knuth} \input knuth \par \stoptext Is there any workaround/fix? Thanks very much, Duncan
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Duncan Hothersall wrote:
The manual suggests that you can put index calls between a \section heading and its first paragraph without worry, but for me it breaks the page-breaking mechanism, allowing the section title to end up at the bottom of a page like this:
\starttext \section{Tufte} \dorecurse{4}{\input tufte \par} \section{Knuth} \index{Knuth} \input knuth \par \stoptext
Is there any workaround/fix?
can you try (test extensively): \def\dodoregister[#1]#2#3% {\dogotopar{\dontleavehmode\doprocesspageregister[#1]{#2}{#3}}}
participants (2)
-
Duncan Hothersall
-
Hans Hagen