From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66509 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: No widows and orphans Date: Tue, 1 Mar 2011 17:14:59 +0100 Message-ID: References: <349AD4A4-4D88-432C-92E1-E5DB69279A50@yahoo.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1416886961==" X-Trace: dough.gmane.org 1298996275 27758 80.91.229.12 (1 Mar 2011 16:17:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 16:17:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 01 17:17:48 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PuSGh-00023n-6F for gctc-ntg-context-518@m.gmane.org; Tue, 01 Mar 2011 17:17:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6594BCAA8C; Tue, 1 Mar 2011 17:17:46 +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 yvdPbuX1R1Y9; Tue, 1 Mar 2011 17:17:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3172CAA7F; Tue, 1 Mar 2011 17:17:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14AC2CAA7F for ; Tue, 1 Mar 2011 17:17:33 +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 zsXmW-gzxajS for ; Tue, 1 Mar 2011 17:17:12 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id E232FCAA7B for ; Tue, 1 Mar 2011 17:17:12 +0100 (CET) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p21GHBlN021067 for ; Tue, 1 Mar 2011 17:17:12 +0100 Original-Received: by eyh6 with SMTP id 6so2171159eyh.14 for ; Tue, 01 Mar 2011 08:17:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=3m+c05+rW9mxcMkovsqDO9VmmVNXhrR1ORx+wjgEN68=; b=KvrPaISQeXsFemcMxPzA1IWRxrqD0+Zv8RBZfQwWR6Vfmm1QuUy9koJwiZSSFukAlh vjxJ6O/YML6hMiHA72tBfT82FjWCjIGmjHxn6Vba4GUX/OxbzBXP5ZWs++8xUZpT4K1C GlbNHqce/L8529Oo+kXfOGBDLPghNyCl8yDC8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=SFaentB14pNqdfAzsYHE7MIZPS96aLuSrHkyv4xfswPs6lBSN1L2l70T1bo0gUXJEu FishI/GheS9qznIqwEal1lPwfqaos51jV/4R/0Qg3gGMlojR2ZfnTcL5/p3b3ojA4IcF UIMbDuJO+UnNS4SlHccSa2F2urU33s8NxRSXU= Original-Received: by 10.223.86.140 with SMTP id s12mr8324058fal.145.1298996099229; Tue, 01 Mar 2011 08:14:59 -0800 (PST) Original-Received: by 10.223.10.4 with HTTP; Tue, 1 Mar 2011 08:14:59 -0800 (PST) In-Reply-To: <349AD4A4-4D88-432C-92E1-E5DB69279A50@yahoo.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08EdQhbL0 - a8002be3914e - 20110301 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:66509 Archived-At: --===============1416886961== Content-Type: multipart/alternative; boundary=20cf30433f260f3dfe049d6e190f --20cf30433f260f3dfe049d6e190f Content-Type: text/plain; charset=ISO-8859-1 2011/3/1 Philipp Stephani > > Yes, in this particular case I would like not to break them. > > I don't know whether that still works in ConTeXt, but try > \interlinepenalty=10000 > That made havoc of my document. > > What would also be acceptable is when there are at least five lines on > the page. > > Try this (again untested): > \clubpenalties 5 10000 10000 10000 10000 10000 > \widowpenalties 5 10000 10000 10000 10000 10000 > Does not seem to have any effect. -- Cecil Westerhof --20cf30433f260f3dfe049d6e190f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2011/3/1 Philipp Stephani <= st_philipp@yahoo.de>
> Yes, in this particular case I would like not to break them.

I don't know whether that still works in ConTeXt, but try
\interlinepenalty=3D10000

That made havoc of my do= cument.

=A0
> What would also be acceptable is when there are at least five lines on= the page.

Try this (again untested):
\clubpenalties 5 10000 10000 10000 10000 10000
\widowpenalties 5 10000 10000 10000 10000 10000

Do= es not seem to have any effect.

--
Cecil Westerhof<= br> --20cf30433f260f3dfe049d6e190f-- --===============1416886961== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1416886961==--