From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24340 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Index entries messing up page breaks Date: Tue, 13 Dec 2005 23:03:52 +0100 Message-ID: <439F4548.4000108@wxs.nl> References: <439EF313.809@capdm.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134511503 9795 80.91.229.2 (13 Dec 2005 22:05:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2005 22:05:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 13 23:05:01 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmIFe-0005jb-QS for gctc-ntg-context-518@m.gmane.org; Tue, 13 Dec 2005 23:04:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 63AF41284B; Tue, 13 Dec 2005 23:04:02 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22890-02; Tue, 13 Dec 2005 23:03:58 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4CE212834; Tue, 13 Dec 2005 23:03:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 44A7E12834 for ; Tue, 13 Dec 2005 23:03:57 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22889-06-3 for ; Tue, 13 Dec 2005 23:03:56 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id 4E4AE127FA for ; Tue, 13 Dec 2005 23:03:56 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 7584 for ; Tue, 13 Dec 2005 23:10:29 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <439EF313.809@capdm.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24340 Archived-At: 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}}}