From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81238 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Bug in \column Date: Wed, 20 Mar 2013 10:40:30 +0100 Message-ID: <5149840E.5090000@wxs.nl> References: <51475DA5.2030708@telefonica.net> <182EC77A-9B26-497F-B268-848E1CB17581@gmail.com> <5148C16A.3070909@telefonica.net> <6AB5D979-057E-4EDB-8F52-26A56EE229EA@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363772433 9270 80.91.229.3 (20 Mar 2013 09:40:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2013 09:40:33 +0000 (UTC) Cc: mailing list for ConTeXt users , Xan To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 20 10:40:57 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UIFVx-0004nX-F0 for gctc-ntg-context-518@m.gmane.org; Wed, 20 Mar 2013 10:40:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5422410202; Wed, 20 Mar 2013 10:40:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ol3y4cXLmeAE; Wed, 20 Mar 2013 10:40:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BCAED101EF; Wed, 20 Mar 2013 10:40:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97AC6101EF for ; Wed, 20 Mar 2013 10:40:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KJpGfN7n8EXn for ; Wed, 20 Mar 2013 10:40:29 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 7876A101EE for ; Wed, 20 Mar 2013 10:40:29 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2K9eS0Y013562 for ; Wed, 20 Mar 2013 10:40:29 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 12098-1713362 for multiple; Wed, 20 Mar 2013 10:40:27 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <6AB5D979-057E-4EDB-8F52-26A56EE229EA@gmail.com> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NJdJEt3O - db48570adaa0 - 20130320 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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 Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81238 Archived-At: On 3/20/2013 10:28 AM, Wolfgang Schuster wrote: > > Am 19.03.2013 um 20:50 schrieb Xan : > >> Can you modify it for working? By the user perspective it's an annoying = bug. A clean command should not produce that, isn't it? > > I have to agree that the current situation with the \column command isn= =92t perfect but each solution has it=92s own problems. > > The example below uses three different definitions for the \column comman= d, the first and third result in a empty column when there is to much text = in the first column while the second definition ignores the command and bal= ances the text of both columns. > > > \starttext \showframe > > % Default method > > \blank[force,12cm] > > \startcolumns > \dorecurse{16}{a\par} > \column > b > \stopcolumns > > \page > > % Method 1 > > \unprotected\installcolumnbreakmethod \s!multicolumn \v!yes > {\scratchdimen\dimexpr\pagegoal/2\relax > \vskip \scratchdimen > \penalty-200 % we can mark and intercept this > \vskip-\scratchdimen} > > \blank[force,12cm] > > \startcolumns > \dorecurse{16}{a\par} > \column > b > \stopcolumns > > \page > > % Method 2 > > \unprotected\installcolumnbreakmethod \s!multicolumn \v!yes > {\scratchdimen\dimexpr\pagegoal/2+\lineheight\relax > \vskip \scratchdimen > \penalty-200 % we can mark and intercept this > \vskip-\scratchdimen} > > \blank[force,12cm] > > \startcolumns > \dorecurse{16}{a\par} > \column > b > \stopcolumns > > \stoptext > For Wolfgangs eyes only: \installcolumnbreakmethod \s!multicolumn \v!yes {\penalty\c_page_mix_break_forced\relax} Maybe that one works ok. Hans -- = ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________