![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 7/25/2013 3:24 AM, Andres Conrado Montoya wrote:
So, it seems that this configuration worked (more or less), to avoid: Widows, Orphans, 3 or more consecutive hyphens, and final hyphens.
\startsetups[grid][correcto] \setups[*reset] \setpenalties\widowpenalties{1}{10000} \setpenalties\clubpenalties{1}{10000} \stopsetups
\doublehyphendemerits=30000 \finalhyphendemerits=30000 \adjdemerits=10000 \brokenpenalty10000\relax
we occasionally have to use such high values due to publishers demands but keep in mind that the solution space becomes pretty small, so if the rest of the output looks less optimal: don't complain (personally for me it's always the moment that i try to hide the fact that tex is used) automated typesetting fulfilling all constraints is in most cases (read: always) impossible so among the options are: inject an occasional manual pagebreak (once the context is fixed) or adapt the content in real nasty cases Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------