From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44576 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: misbehaving \column Date: Sat, 4 Oct 2008 09:11:50 +0200 Message-ID: <1F8B082F-4051-4117-B8A8-A1E453FBA61D@gmail.com> References: <6faad9f00810030940h44246cc9peb386dc26547c433@mail.gmail.com> <12D821C4-9A1D-4F8B-8E5B-8AF87578167D@gmail.com> <6faad9f00810031246k3e929f7sc126223c9405b6a8@mail.gmail.com> <6faad9f00810031457k2b9c12a6i471aa54f8f749f1e@mail.gmail.com> <6faad9f00810031651v14f238b8hcf1316b999cb1080@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223104431 24180 80.91.229.12 (4 Oct 2008 07:13:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2008 07:13:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 04 09:14:47 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 1Km1Lj-0001FC-Dt for gctc-ntg-context-518@m.gmane.org; Sat, 04 Oct 2008 09:14:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 19A081FE28; Sat, 4 Oct 2008 09:13:42 +0200 (CEST) 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 32670-03-7; Sat, 4 Oct 2008 09:13:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA3A31FE7C; Sat, 4 Oct 2008 09:12:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9A271FE7C for ; Sat, 4 Oct 2008 09:12:46 +0200 (CEST) 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 31212-05-13 for ; Sat, 4 Oct 2008 09:12:12 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by ronja.ntg.nl (Postfix) with ESMTP id 13D471FB89 for ; Sat, 4 Oct 2008 09:12:12 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id l26so2371855fgb.8 for ; Sat, 04 Oct 2008 00:12:11 -0700 (PDT) Original-Received: by 10.181.25.18 with SMTP id c18mr1544900bkj.61.1223104331779; Sat, 04 Oct 2008 00:12:11 -0700 (PDT) Original-Received: from ?192.168.2.23? (p5B294A0F.dip.t-dialin.net [91.41.74.15]) by mx.google.com with ESMTPS id d13sm6045568fka.19.2008.10.04.00.12.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Oct 2008 00:12:11 -0700 (PDT) In-Reply-To: <6faad9f00810031651v14f238b8hcf1316b999cb1080@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:44576 Archived-At: Am 04.10.2008 um 01:51 schrieb Mojca Miklavec: > On Sat, Oct 4, 2008 at 12:54 AM, Wolfgang Schuster wrote: >> >>> One more question: how can I say "please keep this content together" >>> when typsetting in columns on grid? \vbox behaves a bit weird, but >>> most important: it does not align baselines properly. >> >> \interlinepenalty=10000 > > So like this: > \long\def\startpleasekeepmetogether#1\stoppleasekeepmetogether > {\hereshouldprobablybesomepenaltyfixtoallowcolumnbreak > \bgroup\interlinepenalty=10000#1\egroup} > ? > > I alweays fear using such constructs since I have a feeling that > ConTeXt has something better to offer, but colums seem a bit > problematic anyway. \definestartstop [pleasekeepmetogether] [commands=\setups{pleasekeepmetogether}] \startsetups pleasekeepmetogether %\interlinepenalty\plustenthousand \setpenalties\interlinepenalties{100}\maxdimen \stopsetups \showframe \starttext \dorecurse{9}{\input ward\par} \startpleasekeepmetogether \input tufte\par \stoppleasekeepmetogether \dorecurse{3}{\input ward\par} \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________