From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17947 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: columnsetspan - alternative needed Date: Mon, 24 Jan 2005 19:36:33 +0100 Message-ID: <41F54031.1040707@wxs.nl> References: 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 1106591808 18249 80.91.229.6 (24 Jan 2005 18:36:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2005 18:36:48 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 24 19:36:33 2005 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 1Ct94j-00063m-00 for ; Mon, 24 Jan 2005 19:36:33 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 928A8127AD; Mon, 24 Jan 2005 19:36:32 +0100 (CET) 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 01666-04; Mon, 24 Jan 2005 19:36:31 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E96DD12777; Mon, 24 Jan 2005 19:36:30 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A86212777 for ; Mon, 24 Jan 2005 19:36:30 +0100 (CET) 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 01669-08 for ; Mon, 24 Jan 2005 19:36:29 +0100 (CET) Original-Received: from mailrelay02.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 7E09F12771 for ; Mon, 24 Jan 2005 19:36:29 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j0OIaPmT027685; Mon, 24 Jan 2005 19:36:25 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 868D517B44; Mon, 24 Jan 2005 19:29:18 +0100 (CET) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 4451B5722; Mon, 24 Jan 2005 18:29:17 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: Steffen Wolfrum , mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay02 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: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17947 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17947 Steffen Wolfrum wrote: > Thanks for the quick answer - but obviously my example was bad: columnsetareas don't do what I need. > > Maybe this is a better explanation: > > Given you have two articles in a book set in two columns. > The second article doesn't start on a new page - it just begins where the first one ends. > > But the first article (aaa...) ends with two balanced columns, > then comes the heading (bbb) for the second article, > and then comes begins the second article (ccc...). > > > That's what I mean by > > aaa aaa > aaa aaa > > bbbb > > ccc ccc > ccc ccc > > Do you have a trick how to do a page like this with columnsets? well, it involves some manual tweaking (numbers and such) and is not yet 100% ok the next code shows a bit of balancing and columnstart/height manipulations \starttext \showgrid \definecolumnset [two] [n=2,balance=top] \definecolumnset [three] [n=3,balance=top] \setupcolumnsetlines[two][1][1][15] \setupcolumnsetlines[two][1][2][15] \setupcolumnsetstart[three][1][1][15] \setupcolumnsetstart[three][1][2][18] \setupcolumnsetstart[three][1][3][20] \setupcolumnsetlines[three][1][1][40] \setupcolumnsetlines[three][1][2][40] \setupcolumnsetlines[three][1][3][40] \definecolumnsetspan[two] % \starttext % \startcolumnset [two] \dorecurse {1}{\input tufte \par} \stopcolumnset % \startcolumnset [three] \dorecurse {2}{\input tufte \par} \stopcolumnset % \stoptext \starttext \startcolumnset [two] \startcolumnsetspan[two] \input ward \stopcolumnsetspan \dorecurse {1}{\input tufte \par} \stopcolumnset \startcolumnset [three] \startcolumnsetspan[two] \input ward \stopcolumnsetspan \dorecurse {2}{\input tufte \par} \stopcolumnset \stoptext \stoptext ----------------------------------------------------------------- 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 -----------------------------------------------------------------