From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72630 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Avoiding widows and orphans (again?) Date: Wed, 23 Nov 2011 16:59:12 +0100 Message-ID: References: <008401cca9ee$9e972d40$dbc587c0$@gmx.de> <4ECD1142.4040702@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322063983 18951 80.91.229.12 (23 Nov 2011 15:59:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2011 15:59:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 23 16:59:37 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 1RTFEW-0007b6-5u for gctc-ntg-context-518@m.gmane.org; Wed, 23 Nov 2011 16:59:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D2466CB174; Wed, 23 Nov 2011 16:59:35 +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 fl9i2TZAs720; Wed, 23 Nov 2011 16:59:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 503ACCB16C; Wed, 23 Nov 2011 16:59:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93ACFCB16B for ; Wed, 23 Nov 2011 16:59:32 +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 xPEZxpMZB2aF for ; Wed, 23 Nov 2011 16:59:21 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 9503DCB16C for ; Wed, 23 Nov 2011 16:59:21 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pANFxKdq026826 for ; Wed, 23 Nov 2011 16:59:20 +0100 Original-Received: by bke17 with SMTP id 17so2236791bke.14 for ; Wed, 23 Nov 2011 07:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=yyXj3v3nay6Jm93djnOc+sptS2sC+DdnZGkJLLEq9EM=; b=dtilMrvqrhkZC3iR7nO0jNlREAHlHqewu9LoE+FyBcxLgmXPBKLHRSPuhjBtVOU9mf TFWjKmuSuHCGQEqlcjLb8VJzShgcthOWqmaSeFjZYyRFzdEmLUyzHQ/8kYm+UBzXiWMJ fA8CXdv8vWoWaItqS6jfO1E1w3SyCo7pN1DJM= Original-Received: by 10.205.119.11 with SMTP id fs11mr25390693bkc.58.1322063960494; Wed, 23 Nov 2011 07:59:20 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFAD5E.dip.t-dialin.net. [87.175.173.94]) by mx.google.com with ESMTPS id j8sm961851fai.16.2011.11.23.07.59.18 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Nov 2011 07:59:19 -0800 (PST) In-Reply-To: <4ECD1142.4040702@wxs.nl> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 0bG0DXkbk - 865fb537ddf2 - 20111123 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:72630 Archived-At: Am 23.11.2011 um 16:29 schrieb Hans Hagen: > On 23-11-2011 15:45, Christian wrote: >> Good day to you, >> = >> I saw the related messages in the archive, but I don't really get it. >> = >> I'm looking for a (global) setting, that prevents the last line of a par= agraph to slip on the next page. If it really must, it shall also drag anot= her one with it for company. > = > \setuplayout[preset=3Dstrict] It=92s also possible to set a certain number of lines with the following: \starttext \setpenalties\widowpenalties{3}{10000} \dorecurse{740}{text } \stoptext The number of lines is always =93n+1=94 (3+1) because the penalty is added = before the last three lines. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________