From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87098 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Orphans/Widows in the Index Date: Wed, 23 Apr 2014 21:00:06 +0200 Message-ID: <8497.4497709938$1398279631@news.gmane.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1398279631 13495 80.91.229.3 (23 Apr 2014 19:00:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2014 19:00:31 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 23 21:00:27 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wd2PC-00015w-LS for gctc-ntg-context-518@m.gmane.org; Wed, 23 Apr 2014 21:00:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 224051024F for ; Wed, 23 Apr 2014 21:00:26 +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 2QX+yn9z22Zn for ; Wed, 23 Apr 2014 21:00:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 78B7F10253 for ; Wed, 23 Apr 2014 21:00:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C65E6101F7 for ; Wed, 23 Apr 2014 21:00:18 +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 8gGbC6n11Sqb for ; Wed, 23 Apr 2014 21:00:17 +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 46806101E6 for ; Wed, 23 Apr 2014 21:00:09 +0200 (CEST) Original-Received: from fep20.mx.upcmail.net (fep20.mx.upcmail.net [62.179.121.40]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s3NJ07QQ008767 for ; Wed, 23 Apr 2014 21:00:08 +0200 Original-Received: from edge03.upcmail.net ([192.168.13.238]) by viefep20-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20140423190007.FFTX7048.viefep20-int.chello.at@edge03.upcmail.net> for ; Wed, 23 Apr 2014 21:00:07 +0200 Original-Received: from emk ([78.102.141.171]) by edge03.upcmail.net with edge id tX061n01E3i4rri03X076A; Wed, 23 Apr 2014 21:00:07 +0200 X-SourceIP: 78.102.141.171 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac9fJiBf5IlKuFDURZyHKjFEje/JVA== Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=62.179.121.40; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VLRv07uk - c370133636e7 - 20140423 (trained as not-spam) 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:87098 Archived-At: Dear All, in my auto-generated two column index (registry) there are several cases of widows - it is the last item of the given letter which overflows to next column/page: --------------- (start page) ------- Usti 29 (!!! - I would expect to place here also one or better two previous entries) V Vamberk 18 ... ... There are also few cases of orphans, but this is not so strange: ... ... Josef 29 K (!!! - both these lines could be moved to the next column/page) Karel 69 ---------------- (end page) --------- In my setup I have defined: \startsetups[grid][mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{2}{10000} % change to {3}{10000} doesn't help \setpenalties\clubpenalties {2}{10000} \stopsetups \setuplayout[grid=yes, setups=mypenalties] It is hard to provide MWE. Moreover, the content is for private use only. Is there any remedy for this? Thanks, Jan ___________________________________________________________________________________ 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 ___________________________________________________________________________________