Re: [NTG-context] Index entries messing up page breaks

2005-12-14 Thread Duncan Hothersall
Hans wrote: can you try (test extensively): \def\dodoregister[#1]#2#3% {\dogotopar{\dontleavehmode\doprocesspageregister[#1]{#2}{#3}}} Well, it has some problems, introducing vertical space in certain circumstances. Will try to work up a minimal, but two observations: 1. The extra

[NTG-context] Index entries messing up page breaks

2005-12-13 Thread Duncan Hothersall
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}

Re: [NTG-context] Index entries messing up page breaks

2005-12-13 Thread Duncan Hothersall
I said: Is there any workaround/fix? I find that the addition of \dontleavehmode fixes it. Is this safe to use in general? \starttext \section{Tufte} \dorecurse{4}{\input tufte \par} \section{Knuth} \dontleavehmode\index{knuth} \input knuth \par \stoptext Thanks, Duncan

Re: [NTG-context] Index entries messing up page breaks

2005-12-13 Thread Hans Hagen
Duncan Hothersall wrote: I said: Is there any workaround/fix? I find that the addition of \dontleavehmode fixes it. Is this safe to use in general? \starttext \section{Tufte} \dorecurse{4}{\input tufte \par} \section{Knuth} \dontleavehmode\index{knuth} \input knuth \par \stoptext

Re: [NTG-context] Index entries messing up page breaks

2005-12-13 Thread Taco Hoekwater
Hans Hagen wrote: Duncan Hothersall wrote: I find that the addition of \dontleavehmode fixes it. Is this safe to use in general? no, use \dontleavehmode instead ;-) ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] Index entries messing up page breaks

2005-12-13 Thread Hans Hagen
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}