On 2014-04-23 Jan Tosovsky wrote: > > 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 (! alone !) > > V > Vamberk 18 > ... > ... > > > There are also few cases of orphans, but this is not so strange: > ... > ... > Josef 29 > > K > Karel 69 (! alone !) > ---------------- (end page) --------- > > In my setup I have defined (with no luck): > > \startsetups[grid][mypenalties] > \setdefaultpenalties > \setpenalties\widowpenalties{2}{10000} > \setpenalties\clubpenalties {2}{10000} > \stopsetups > > \setuplayout[grid=yes, setups=mypenalties] >
After finishing another duties I am back ... and still facing these issues. I think both cases could be eliminated by establishing a new constraint to the 'key letter': (1) There must be 0 or at least 3 lines at the beginning of the page/column before the Key letter. (2) There must be at least 2 lines after the Key letter. Can this be somehow set in my source file? 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 ___________________________________________________________________________________