From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46383 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: starting headings at top of column Date: Wed, 17 Dec 2008 20:39:25 +0100 Message-ID: <4949556D.80200@wxs.nl> References: <49493D95.5000106@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229542906 27281 80.91.229.12 (17 Dec 2008 19:41:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 19:41:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 17 20:42:50 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LD2Hj-0002le-Rt for gctc-ntg-context-518@m.gmane.org; Wed, 17 Dec 2008 20:42:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EBF801FB71; Wed, 17 Dec 2008 20:41:04 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31770-04; Wed, 17 Dec 2008 20:40:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1779B1FB5A; Wed, 17 Dec 2008 20:40:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C57E31FB5A for ; Wed, 17 Dec 2008 20:40:08 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32322-02-4 for ; Wed, 17 Dec 2008 20:39:31 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id 8D9771FA41 for ; Wed, 17 Dec 2008 20:39:31 +0100 (CET) Original-Received: from [10.100.1.226] (unverified [10.100.1.11]) by controller-1 (SurgeMail 3.9e) with ESMTP id 18283-1840426 for ; Wed, 17 Dec 2008 20:39:31 +0100 User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: <49493D95.5000106@sil.org> X-Originating-IP: 10.100.1.11 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:46383 Archived-At: Lars Huttar wrote: > Hello, > > I've started talking to people in charge about contributing some money > to this mailing list, or the wiki, or something ... we're certainly > getting a lot of help from it. Is there an org or project to contribute to? a few ideas: - at the tug web page there is a sponsor link .. https://www.tug.org/donate.html there you can explicitly sponsor luatex code development (which includes mplib); since this project is directly related to context mkiv, support will indirectly boost mkiv development (ok, within the limitations of my time) - another option is to sponsor development meetings (e.g. help some contributers to context to attend the context conference); there is no context link (yet) on the tug page -) > Anyway, my current challenge is this. > We have a two-column layout using columnsets. Fairly often, we start a > new section (within a column... this does not interrupt the flow of > columns). > > Some constraints we want to fulfill are: > > - Normally we want a little space before each new section heading > - Except at the top of a column; can I check whether we're at the top > of a column and do a conditional \vskip based on that?(*) > > - Avoid orphans: when starting a new section, if there's not enough room > left in the current column, do a column break before outputting the > section heading. I've tried \testcolumn[n], but it doesn't seem to work > right. What are the units of the argument to \testcolumn? > > We also do manual column balancing using \definecolumnset, > \setupcolumnset, and \setupcolumnsetlines. My concern is, does this > apply after other layout is performed, so that any test performed above > (*) regarding position within the column would fail to reflect these > column balancing adjustments and therefore could give wrong results? > That could explain why \testcolumn has been behaving in unexpected ways... columnsets are kind of special: - strongly grid based (which permits tricky figure placement) - a regular mvl (which permits most context features) sometime next year, when we enter the 'opening up luatexs page-builder' stage, we can look into enhancing columnsets (i hit some of tex's limitations there) also, when the mvl code is extended i can finish the new mkiv spacing/penalty model i'm working on (but first math) 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________