From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15221 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: pagination bug Date: Wed, 26 May 2004 21:24:17 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <6.0.1.1.2.20040526212312.028a4ec0@server-1> References: <3BE36FC6-AE71-11D8-9096-0003938543A0@dircon.co.uk> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1085599604 8849 80.91.224.253 (26 May 2004 19:26:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 May 2004 19:26:44 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed May 26 21:26:29 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BT42n-0003iD-00 for ; Wed, 26 May 2004 21:26:29 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id BEE3F10B31; Wed, 26 May 2004 21:21:44 +0200 (MEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ref.ntg.nl (Postfix) with ESMTP id C44A410B2B for ; Wed, 26 May 2004 21:19:40 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i4QJOG0F008564 for ; Wed, 26 May 2004 21:24:16 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 38E2C1B267; Wed, 26 May 2004 21:24:21 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 1E9FC17BA2 for ; Wed, 26 May 2004 19:24:20 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Original-To: ntg-context@ntg.nl In-Reply-To: <3BE36FC6-AE71-11D8-9096-0003938543A0@dircon.co.uk> Original-References: <3BE36FC6-AE71-11D8-9096-0003938543A0@dircon.co.uk> X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15221 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15221 At 19:30 25/05/2004, you wrote: >Hans, >The following minimum file does not paginate correctly. It overflows the >second page. Removing the figure or the second level of itemization fixes >the pagination. I have enclosed the text of the file and the file itself >for ease of reproduction. > >I am using the latest stable version from i-installer. I actually think I >have had this problem before but not tracked it down. > >TIA >-- >Nigel > > >\starttext >\placefigure > [here] > [fig:a] > {big figure} > {\externalfigure[koe][width=\textwidth,height=\textwidth]} > >\startitemize[packed,n] >\dorecurse{10} {\item repeated} >\startitemize[packed,a,columns] >\dorecurse{10} {\item repeated indent} >\stopitemize > >\stopitemize >\dorecurse{7}{\input zapf \par\relax} > >\stoptext I'm not that sure if the next will not interfere with other situations, so please play a bit with white space settings ans such and mixed one/two column modes \def\endmulticolumns {%\par \vskip\lineheight\vskip-\lineheight % take footnotes into account \dontshowcomposition \doflushcolumnfloat % added recently %\doflushcolumnfloats % no, since it results in wrong top floats \flushnotes % before start of columns \par \ifbalancecolumns \global\output{\continuousmulticolumnsout}% \goodbreak \global\output{\balancedmulticolumnsout}% \else \goodbreak \fi \eject % the prevdepth is important, try e.g. toclist in \prevdepth\zeropoint % columns before some noncolumned text text \global\output\singlecolumnout \global\output{\the\mainoutput}% % % % % todo \ifvoid\precolumnbox\else \unvbox\precolumnbox \fi \global\precolumnboxheight\zeropoint \endgroup % here \nofcolumns\plusone \setvsize % the outer one! \synchronizeoutput % new may 2004 / we need to: \pagegoal\vsize \checkendcolumnfootnotes \dosomebreak\allowbreak \restoresavedfloats}