From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16397 Path: main.gmane.org!not-for-mail From: Michal Kvasnicka Newsgroups: gmane.comp.tex.context Subject: Re: column balancing question Date: Thu, 09 Sep 2004 15:13:01 +0000 Sender: ntg-context-bounces@ntg.nl Message-ID: <414072FD.1040207@econ.muni.cz> References: <413ECCDF.2000908@econ.muni.cz> <413EC9B4.4020708@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1094735965 10553 80.91.224.253 (9 Sep 2004 13:19:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Sep 2004 13:19:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 09 15:19:00 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5OpH-0008Og-00 for ; Thu, 09 Sep 2004 15:19:00 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7B7C31278C; Thu, 9 Sep 2004 15:18:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30472-04; Thu, 9 Sep 2004 15:18:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4A4F112780; Thu, 9 Sep 2004 15:18:56 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1391812780 for ; Thu, 9 Sep 2004 15:18:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30467-05 for ; Thu, 9 Sep 2004 15:18:54 +0200 (CEST) Original-Received: from anor.ics.muni.cz (unknown [147.251.4.35]) by ronja.ntg.nl (Postfix) with ESMTP id 4C98F12777 for ; Thu, 9 Sep 2004 15:18:54 +0200 (CEST) Original-Received: from merkur.econ.muni.cz (merkur.econ.muni.cz [147.251.189.10]) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id i89DIsdk001068 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 9 Sep 2004 15:18:54 +0200 Original-Received: from [147.251.224.167] (ke-kvasnicka.econ.muni.cz [147.251.224.167]) by merkur.econ.muni.cz (8.12.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id i89DIrI0007748 for ; Thu, 9 Sep 2004 15:18:53 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en, cs Original-To: mailing list for ConTeXt users In-Reply-To: <413EC9B4.4020708@wxs.nl> X-Muni-Spam-TestIP: 147.251.189.10 X-Muni-Virus-Test: Clean X-Virus-Scanned: by 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16397 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16397 Good evening. Many thanks for your help. Your solution works well with the newest ConTeXt and one particular document I now typeset. I have to check it still with more documents. Do you want to gen a report from these tests? If you want I can send you many examples, but not `minimal files', since I don't know when the problem occures. As I typeset our church bulletin, I've got that result pretty often---approximately on one third or one fourth of all pages. I can't switch to columnset all my documents. Columnsets are absolutely great (one of the ConTeXt miracle---I thought it is not possible to do it in TeX because of its breaking routines), but up-to-now columnsets cannot be ballanced (or can they?), and my church bulletin is typset in such a way that each article can start anywhere on the page, and the columns must be ballanced before it. I can't explain it better because of my English, but its pages look like this: xxxxx xxxxx xxxxx xxxxx xxxxx xxxxx xxxxx xxxxx Title of article xxxxx xxxxx xxxxx xxxxx Therefore I would lobby for the support of the old \startcolumns ... \stopcolumns environment. :-) As for the Willi Egger's question, I don't use `fit' options very often. The problem I've mentioned in my last mail occures even when the `width' is set to some dimen and the `length' of page is set to some number of lines. Many greetings and thanks again. Your sincerely Michal Kvasnicka > Hard to see without example. You may try this (i have this in my local > expermental setup) > \def\getmulticolumnlines > {\mcscratchdimen-\columntextoffset > \multiply\mcscratchdimen \plustwo > \advance\mcscratchdimen \columntextheight > \ifdim\precolumnboxheight>\zeropoint > \advance\mcscratchdimen -\precolumnboxheight > \fi > \settotalinsertionheight > \advance\mcscratchdimen -\totalinsertionheight > \getnoflines\mcscratchdimen > % added 30/7/2004 > \ifnum\layoutlines>\zerocount \ifnum\noflines>\layoutlines > \noflines\layoutlines > \fi \fi > \nofcolumnlines\noflines} > > Another option is to switch to column sets (see columns.pdf), > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context