From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83340 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: \widowpenalty=10000 and still a widow line Date: Mon, 8 Jul 2013 12:03:23 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1964464746==" X-Trace: ger.gmane.org 1373299422 26915 80.91.229.3 (8 Jul 2013 16:03:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jul 2013 16:03:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 08 18:03:42 2013 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 1UwDuf-0003bZ-TH for gctc-ntg-context-518@m.gmane.org; Mon, 08 Jul 2013 18:03:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8444B101E0; Mon, 8 Jul 2013 18:03:40 +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 KHqibQh0cZtG; Mon, 8 Jul 2013 18:03:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7AF38101E4; Mon, 8 Jul 2013 18:03:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BA1F0101E4 for ; Mon, 8 Jul 2013 18:03:36 +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 CdpiyR1WddIg for ; Mon, 8 Jul 2013 18:03:35 +0200 (CEST) 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 537F9101E0 for ; Mon, 8 Jul 2013 18:03:25 +0200 (CEST) Original-Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [IPv6:2607:f8b0:400c:c01::236]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r68G3NKS003180 for ; Mon, 8 Jul 2013 18:03:24 +0200 Original-Received: by mail-ve0-f182.google.com with SMTP id ox1so3666558veb.41 for ; Mon, 08 Jul 2013 09:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MGQjG+yA+UZrMGeRHss6sbltTPNE/pv026PJx8N5phM=; b=FTBcxde9DlcdsglvZmwkRbuY+4BWzKbjpBCAhtXRk63omLKH6KVamGxi9o0WqNMMi9 8vKOSx4EpI/9yo+ftkL1IrRT+VlA7eq5HQ9HoqWKySk6Wrz25gKFSyYQqF5XU1UAkc+g ETOVdVOZqXLKZuc+aRPxG9WRGN03jcX85cDCxXlyQt8q1lG+ZJJ94Ye9FqPlm72G4jgW gec6/a50GAP71AZJFNqE4/bsi5WGOmF2XxWTJ/ggAnAakCobYto8bvM0HlCRYS+FTgfU SGbBreHFPwWlscu7Le8L9MoFb92UxF+qI1ZSTjjBcM2VrqJGIIJqbaqlaHVY4Q2hkZAg hGNw== X-Received: by 10.52.33.202 with SMTP id t10mr11871487vdi.16.1373299403468; Mon, 08 Jul 2013 09:03:23 -0700 (PDT) Original-Received: by 10.220.217.12 with HTTP; Mon, 8 Jul 2013 09:03:23 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c01::236; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJVQ3obh - 64011bbe0fcb - 20130708 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:83340 Archived-At: --===============1964464746== Content-Type: multipart/alternative; boundary=20cf3079bc301d36de04e1022fff --20cf3079bc301d36de04e1022fff Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Many thanks, Wolfgang. The widows actually appear at the close of =93normal= =94 paragraphs. Around the headers, all seem to be as it should. The =93ConTeXT= =94 solution solves the problem nicely! (I have et the number of lines to 2.) All best, Alan On Mon, Jul 8, 2013 at 9:57 AM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > > Am 08.07.2013 um 14:57 schrieb Alan Bowen : > > > In my environment file, I have > > > > \clubpenalty=3D10000 > > \widowpenalty=3D10000 > > > > \setuptolerance[vertical,verystrict] > > \setuptolerance[horizontal,tolerant] > > > > and yet on occasion I still get widow lines.Does any one have > suggestions about strategies to remedy this either in general or on a cas= e > by case basis? (I am not sure of how to generate an example of the proble= m > or if that would even help.) > > 1. Do the widow lines only appear in certain cases, e.g. after a heading. > > 2. Use the context way to change the penalties: > > \startsetups [mypenalties] > > \setdefaultpenalties > > \setpenalties\widowpenalties{3}{10000} % 3 =3D=3D number of lines, 10= 000 > =3D=3D penalty between these 3 lines > \setpenalties\clubpenalties {3}{10000} > > \stopsetups > > \setuplayout[setups=3Dmypenalties] > > \starttext > =85 > \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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --20cf3079bc301d36de04e1022fff Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Many thanks, Wolfgang. The widows actually appear at the c= lose of =93normal=94 paragraphs. Around the headers, all seem to be as it s= hould. The =93ConTeXT=94 solution solves the problem nicely! (I have et the= number of lines to 2.)

All best, Alan
<= br>
On Mon, Jul 8, 2013 at 9:57 AM, Wolfgang = Schuster <schuster.wolfgang@gmail.com> wrote:

Am 08.07.2013 um 14:57 schrieb Alan Bowen <bowenalan03@gmail.com>:

> In my environment file, I have
>
> \clubpenalty=3D10000
> \widowpenalty=3D10000
>
> \setuptolerance[vertical,verystrict]
> \setuptolerance[horizontal,tolerant]
>
> and yet on occasion I still get widow lines.Does any one have suggesti= ons about strategies to remedy this either in general or on a case by case = basis? (I am not sure of how to generate an example of the problem or if th= at would even help.)

1. Do the widow lines only appear in certain cases, e.g. after = a heading.

2. Use the context way to change the penalties:

\startsetups [mypenalties]

=A0 =A0 \setdefaultpenalties

=A0 =A0 \setpenalties\widowpenalties{3}{10000} % 3 =3D=3D number of lines, = 10000 =3D=3D penalty between these 3 lines
=A0 =A0 \setpenalties\clubpenalties {3}{10000}

\stopsetups

\setuplayout[setups=3Dmypenalties]

\starttext
=85
\stoptext

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--20cf3079bc301d36de04e1022fff-- --===============1964464746== 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 ___________________________________________________________________________________ --===============1964464746==--