From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77830 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Stefan_M=FCller?= Newsgroups: gmane.comp.tex.context Subject: Re: [***SPAM***] Widows: penalty without efffect (ConTeXt iv) Date: Thu, 09 Aug 2012 14:25:00 +0200 Message-ID: <5023AC1C.7070401@gmx.de> References: <50238498.5010408@ymail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344515169 16051 80.91.229.3 (9 Aug 2012 12:26:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2012 12:26:09 +0000 (UTC) Cc: d_jan To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 09 14:26:09 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SzRoX-0006yT-1c for gctc-ntg-context-518@m.gmane.org; Thu, 09 Aug 2012 14:26:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD0D210207; Thu, 9 Aug 2012 14:26:05 +0200 (CEST) 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 zbPONdal2JtT; Thu, 9 Aug 2012 14:26:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B6789101EA; Thu, 9 Aug 2012 14:26:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 10F60101EA for ; Thu, 9 Aug 2012 14:26:01 +0200 (CEST) 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 RqMwafIXP-f9 for ; Thu, 9 Aug 2012 14:25:59 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 1739E101E2 for ; Thu, 9 Aug 2012 14:25:58 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with SMTP id q79CPwFV024767 for ; Thu, 9 Aug 2012 14:25:58 +0200 Original-Received: (qmail invoked by alias); 09 Aug 2012 12:25:00 -0000 Original-Received: from business-088-079-173-117.static.arcor-ip.net (HELO [10.9.142.88]) [88.79.173.117] by mail.gmx.net (mp040) with SMTP; 09 Aug 2012 14:25:00 +0200 X-Authenticated: #11064435 X-Provags-ID: V01U2FsdGVkX19N+JZ0q2dNjHEvSUfDVlo93InNxuL80TO8K+40MC GqAKVGh3idWWRr User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <50238498.5010408@ymail.com> X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03HIApWLX - 9db414cb9a66 - 20120809 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77830 Archived-At: Hi, did you see [1]? You have to do something like \starttext \clubpenalty=10000 \widowpenalty=10000 My text that should not contain any widow or orphan lines. \stoptext If that does not work for you, please provide a minimal example. HTH, Stefan [1] http://archive.contextgarden.net/message/20111211.162442.4f689e7b.en.html On 09.08.2012 11:36, d_jan wrote: > Dear List, > > I ran into trouble with the widow/orphan-control in context. > I searched the mailinglist, and saw that there were some other threads > on the topic bevore, but as far as I am concerned what was suggested > there did not work for me when I tried it. > > I run context iv using the version which comes with TexLive 2011. > > First trail was to include \widowpenalty=9000 and \clubpenalty=9000 at > the start of the document, before \starttext (cause I do my setups, and > definitions there) > As this did not work I tried to put them after \starttext. As well I > lowered \brokenpenalty. But both approaches, which were suggested in > previous Posts on the ntg-context list failed to show an effect in my case. > > Is there anything I could do to prevent the widow lines? > > PS.: As I may be doing any noobish errors, here an overview of the > documents structure and the placement of the penalty-commands > _________________________________ > > \widowpenalty=9000 > \clubpenalty=9000 > > \definepapersize[janssize][width=190mm, height=245mm] > > \setuppapersize[janssize][A4] %we can use something like [A5][A4], which > is a a5 Page sized Document printed on a A4 sheet > > > \setuplayout[grid=yes, marking=on, location=middle, backspace=30mm, > width=110mm]%former: location=doublesided > > > \starttext > > \startstandardmakeup > \stopstandardmakeup > > \startfrontmatter > %TOC... > \stopfrontmatter > > \startbodymatter %the main stuff goes here > % Loads of text > \stopbodymatter > > \startappendices %appendices go here > \stopappendices > > \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________