ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Index entries messing up page breaks
@ 2005-12-13 16:30 Duncan Hothersall
  2005-12-13 16:47 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Duncan Hothersall @ 2005-12-13 16:30 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Index entries messing up page breaks
@ 2005-12-13 16:13 Duncan Hothersall
  2005-12-13 22:03 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Duncan Hothersall @ 2005-12-13 16:13 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-12-14 10:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20051213220414.AAFF112850@ronja.ntg.nl>
2005-12-14 10:25 ` Index entries messing up page breaks Duncan Hothersall
2005-12-13 16:30 Duncan Hothersall
2005-12-13 16:47 ` Hans Hagen
2005-12-13 17:21   ` Taco Hoekwater
  -- strict thread matches above, loose matches on Subject: below --
2005-12-13 16:13 Duncan Hothersall
2005-12-13 22:03 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).