ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Index entries messing up page breaks
Date: Tue, 13 Dec 2005 23:03:52 +0100	[thread overview]
Message-ID: <439F4548.4000108@wxs.nl> (raw)
In-Reply-To: <439EF313.809@capdm.com>

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}}}

  reply	other threads:[~2005-12-13 22:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13 16:13 Duncan Hothersall
2005-12-13 22:03 ` Hans Hagen [this message]
2005-12-13 16:30 Duncan Hothersall
2005-12-13 16:47 ` Hans Hagen
2005-12-13 17:21   ` Taco Hoekwater
     [not found] <20051213220414.AAFF112850@ronja.ntg.nl>
2005-12-14 10:25 ` Duncan Hothersall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=439F4548.4000108@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).