On 10/31/2024 7:26 PM, Thomas Meyer wrote:
Hi folks,
following today's update,
\startsetups[grid][mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{2}{10000} \setpenalties\clubpenalties {2}{10000} \stopsetups
\setuplayout[grid=yes, setups=mypenalties]
does \startsetups[mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{2}{10000} \setpenalties\clubpenalties {2}{10000} \stopsetups work? this [grid] was only used for this case and has been dropped in favour of more powerful par passes and specification definitions this setup approach was also sensitive for order
doesn't work any longer, I think. Can anyone confirm this. There is another problem (page break in the paragraph) that I have yet to verify.
We now have so call \specificationdef's that work as shown below: \starttext \showmakeup[vpenalty] \specificationdef \MyWidowPenalties \widowpenalties 3 10000 10000 0 \specificationdef \MyClubPenalties \clubpenalties 3 10000 10000 0 { \samplefile {tufte} } \page { \MyWidowPenalties \MyClubPenalties \samplefile {tufte} } \page { \lesswidowpenalties \lessclubpenalties \samplefile {tufte} } \page { \setupalign[lesswidows,lessclubs,lessorphans] \samplefile {tufte} } \page \stoptext predefined new alignment keys are: defaultwidows defaultclubs defaultbroken lesswidows lessclubs lessbroken lessorphans lessorphans:2 lessorphans:3 lessorphans:4 strictwidows strictwidows:2 strictwidows:3 strictwidows:4 strictclubs strictclubs:2 strictclubs:3 strictclubs:4 strictbroken so a 'global' setupalign can be used 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 -----------------------------------------------------------------