![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Am 08.02.2008 um 16:58 schrieb Taco Hoekwater:
Steffen Wolfrum wrote:
Hi,
does it make sense that eg
\clubpenalty=10000
doesn't work when written in a project's environment file?
I think so, yes (technically it is a side-effect).
This should work even in the environment file:
\def\defaultclubpenalty {10000} \setdefaultpenalties
And all of them like this? \def\defaultclubpenalty {10000} \def\defaultwidowpenalty {10000} \def\defaultdisplaywidowpenalty {10000} \def\defaultbrokenpenalty {0} \setdefaultpenalties I experienced also very interesting differences between setting in environment file \setuplayout[grid=no] and in component \setuplayout [grid=yes] compared to setting in environment file \setuplayout[grid=yes] . As working with grid is in itself quite fragile (and surprising) I guess this is not explainable / avoidable? Thanks, Steffen