From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16392 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: column balancing question Date: Wed, 08 Sep 2004 10:58:28 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <413EC9B4.4020708@wxs.nl> References: <413ECCDF.2000908@econ.muni.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1094633931 10046 80.91.224.253 (8 Sep 2004 08:58:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Sep 2004 08:58:51 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 08 10:58:35 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 1C4yHj-0004wm-00 for ; Wed, 08 Sep 2004 10:58:35 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0E9C71278E; Wed, 8 Sep 2004 10:58:35 +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 21483-09; Wed, 8 Sep 2004 10:58:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DCC8C1277C; Wed, 8 Sep 2004 10:58:31 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C02701277C for ; Wed, 8 Sep 2004 10:58:30 +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 21669-03 for ; Wed, 8 Sep 2004 10:58:30 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 3590E12777 for ; Wed, 8 Sep 2004 10:58:30 +0200 (CEST) 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 i888wSqO030427 for ; Wed, 8 Sep 2004 10:58:28 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 7BBBB1B339; Wed, 8 Sep 2004 10:58:29 +0200 (CEST) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 3CF80179E7 for ; Wed, 8 Sep 2004 08:58:28 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <413ECCDF.2000908@econ.muni.cz> X-Virus-Scanned: clamd / ClamAV version 0.73, clamav-milter version 0.73a on mailrelay01.solcon.nl X-Virus-Status: 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:16392 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16392 Michal Kvasnicka wrote: > Good morning. > > One reason for me to switch to ConTeXt were its macros for typesetting > in columns that are highly superior to any such macro I have ever > seen. (I typeset almost all my documnts in two columns.) But I am not > able to supress one strange feature: some pages are one more line > longer than they should be. It happen randomly -- or at least I was > not able to find out when it happens. Therefore I'm not able to > prepare an minimal file. I thougth that setting 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 -----------------------------------------------------------------