From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77842 Path: news.gmane.org!not-for-mail From: d_jan Newsgroups: gmane.comp.tex.context Subject: Re: [***SPAM***] Widows: penalty without efffect (ConTeXt iv) Date: Thu, 09 Aug 2012 20:36:35 +0200 Message-ID: <50240333.90601@ymail.com> References: <50238498.5010408@ymail.com> <5023AC1C.7070401@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344537413 13688 80.91.229.3 (9 Aug 2012 18:36:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2012 18:36:53 +0000 (UTC) Cc: mailing list for ConTeXt users To: =?ISO-8859-1?Q?Stefan_M=FCller?= Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 09 20:36:53 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 1SzXbE-0005hi-Tt for gctc-ntg-context-518@m.gmane.org; Thu, 09 Aug 2012 20:36:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BC8571020F; Thu, 9 Aug 2012 20:36:47 +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 W8Mpn2wO6tgZ; Thu, 9 Aug 2012 20:36:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 25224101F9; Thu, 9 Aug 2012 20:36:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BC2D101F9 for ; Thu, 9 Aug 2012 20:36:43 +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 rKBMQPK2II9K for ; Thu, 9 Aug 2012 20:36:39 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 8B87C101EC for ; Thu, 9 Aug 2012 20:36:39 +0200 (CEST) Original-Received: from nm4.bullet.mail.ird.yahoo.com (nm4.bullet.mail.ird.yahoo.com [77.238.189.61]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with SMTP id q79IabT1012154 for ; Thu, 9 Aug 2012 20:36:37 +0200 Original-Received: from [77.238.189.233] by nm4.bullet.mail.ird.yahoo.com with NNFMP; 09 Aug 2012 18:36:37 -0000 Original-Received: from [217.146.189.246] by tm14.bullet.mail.ird.yahoo.com with NNFMP; 09 Aug 2012 18:36:37 -0000 Original-Received: from [127.0.0.1] by smtp111.mail.ird.yahoo.com with NNFMP; 09 Aug 2012 18:36:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1344537397; bh=CvcPZWjm1wIwOvWFnmtfe94LWWW04dn0V1hwZYU7vwo=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=2CWAAQbD9dy9cYuFNuDzl4fzc/SnKM9Nz+4rQHYjWim+rEj3+AOxLEueAOqa/3Td2eLjj96Ou54RdpogyHJ68t3foAAdA5iAIeM8jMTAlwJ8CmF00oAOfe+vFjQZrZeor2cAhhbUoEy1fQrmaycWc7ynVqyij+Zp7ICSyuZaAiU= X-Yahoo-Newman-Id: 159447.3350.bm@smtp111.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: uYwyoIwVM1knSU7R0MHtl1.NDL9zC.RABiEq8sJQIgjeOdt 7mPfKBR8UjbCJ.S84.SRmLAubbaIbxuWAGrguKg43olmes3geLm1dyyrmo0Z rmNRTGxT_70lUvsiI80j78Z3ItLFygfghDBu6KbYuGPvWDSn.ToZX1kqmCnw Rjul.OcXkbt9anIYhdEoAI6jEqnEAf.ct1F1Iu.AWZj.c9chZ_NRkhC8HqIW iGf..dO43gp5KsNM4wb0fm53S4w4LG.EKgHRfTULNVKlITKjUmeUYNru_RKu 8mEVId6W1wa8JAqJxrFeYs3PFaas.AipNQ1.hW74CxIODyTyRa35iINI1FCC UkME8JYnMQJ753YR0tlNZAoggAxQ6wEySazIhoHfEn9fM8w7jsU2L2t3UhFR _rpxsvfwAgQqZhKQ5P0UBlVKGa4TOdp4I29gkCr224HaPMK1EVSYN_MGcmtI 6DKimeIQI2eQ3Op6dCisYTESXSxH0XfHWIbu_Z8Qm5QTzOto_lEv6B4FbP09 GaqdZRPQ5jbbM0WdNP0HRSf5zuaqfGitPlXT_r86kNw-- X-Yahoo-SMTP: jlpPoR6swBB31.uRTtyrJoMhpEE58Xqpt93KVg-- Original-Received: from [192.168.1.34] (d_jan@93.128.135.246 with plain) by smtp111.mail.ird.yahoo.com with SMTP; 09 Aug 2012 11:36:36 -0700 PDT User-Agent: Mozilla/5.0 (Windows NT 5.1; WOW64; rv:10.0.6esrpre) Gecko/20120713 Thunderbird/10.0.6 In-Reply-To: <5023AC1C.7070401@gmx.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=77.238.189.61; country=IE; latitude=53.0000; longitude=-8.0000; http://maps.google.com/maps?q=53.0000,-8.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHIGABgR - 84843ed21cad - 20120809 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:77842 Archived-At: Hi Stephan, Thanks for your help. Seemingly I missed that in my search on the list. \starttext \clubpenalty=3D10000 \widowpenalty=3D10000 \brokenpenalty=3D10000 [...] seems to do the job. Reards, Jan On 09.08.2012 14:25, Stefan M=FCller wrote: > Hi, > > did you see [1]? You have to do something like > > \starttext > \clubpenalty=3D10000 > \widowpenalty=3D10000 > > 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=3D9000 and \clubpenalty=3D9000 = 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=3D9000 >> \clubpenalty=3D9000 >> >> \definepapersize[janssize][width=3D190mm, height=3D245mm] >> >> \setuppapersize[janssize][A4] %we can use something like [A5][A4], which >> is a a5 Page sized Document printed on a A4 sheet >> >> >> \setuplayout[grid=3Dyes, marking=3Don, location=3Dmiddle, backspace=3D30= mm, >> width=3D110mm]%former: location=3Ddoublesided >> >> >> \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 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 ___________________________________________________________________________= ________