Thanks for these pointers, Hans. I'll do a bit of experimentation. Best wishes
John Waś *🇪🇺 * Слава Україні! * 🇺🇦* <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Sat, 5 Jul 2025 at 13:56, Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote: > On 7/5/2025 12:19 PM, John Was wrote: > > Hello > > > > A long-cherished desideratum is automatic prohibition of hyphenation at > > the end of a recto page (except for split footnotes, where this is > > actually quite helpful in forcing the reader to complete the note on the > > following verso). That was always disallowed at OUP (but allowed at the > > end of a verso). > > > > I've never managed this in plain TeX, so that at the last moment I > > scroll through the odd-numbered pages putting words in an \hbox if the > > unwanted hyphen has happened (and one then has to keep an eye out for > > the rare case where paragraph reflow throws up another problem). > > {\nohyphens ...} ... plenty no* commands like \noligaturing, \nokerning > that can work local > > > Is this feasible in ConTeXt? > > Widow, club and broken penaltiesa can be different for left and right > pages and are controlled by keywords like "less.." and "strict.." and > "default.." and some also have granularity > > [less|strict|default][widows|clubs|broken|orphans][:[2|3|4]] > > see spac-ver.mkxl around 520 > > so you can do > > \setuplayout[lines=29] > > % \setupalign[lessbroken] > > \starttext > \dorecurse{10}{\samplefile{tufte}\par} > \stoptext > > The problem with all these features is that even if there is demand we > don't know about it and/or if it will ever be used. We just added things > like that when we enhanced the par and page builders and exploring > possibilities. There are all kind of goodies like that and you can set > up these panalties any way you like but it's not always easy to come up > with values that work well together. They are described in articles and > low level manuals. > > Just for the record: in luametatex \widowpenalties and other array > variants (of \widowpenalty etc) accept options like repeating, addition, > left/right page alternatives. So it's something in the engine. In order > to not confuse the singular and plural variants, the singular ones are > overloaded in context to map onto the plural so that only one mechanism > kicks in. Technically we could just remove the singulars completely. > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___________________________________________________________________________________ >
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________