Hi, does it make sense that eg \clubpenalty=10000 doesn't work when written in a project's environment file? It must be repeated at top of each single component in order to work. I am wondering what else works only when written in component (and is silently ignored although written in my environment-file) ... Steffen
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 Best wishes, Taco
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
Steffen Wolfrum wrote:
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?
grid mode has a separate set of defaults, yes. See core-spa.tex (easier for me than writing it all down) Best wishes, Taco
Am 08.02.2008 um 17:19 schrieb Taco Hoekwater:
Steffen Wolfrum wrote:
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?
grid mode has a separate set of defaults, yes. See core-spa.tex (easier for me than writing it all down)
What about the difference in writing in environment file \setuplayout[grid=no] plus in component \setuplayout [grid=yes] compared to setting in environment file \setuplayout[grid=yes] Why does this make a difference? Steffen
Steffen Wolfrum wrote:
Why does this make a difference?
see taco's answer; the layout is synchronized at certain points (those where dimensions may need recalculation), so any change can be made undone by this automatism; just use the setups to change your settings Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 08.02.2008 um 18:19 schrieb Hans Hagen:
Steffen Wolfrum wrote:
Why does this make a difference?
see taco's answer; the layout is synchronized at certain points (those where dimensions may need recalculation), so any change can be made undone by this automatism; just use the setups to change your settings
Ah, down there it is! Thanks, found it. % However, we will use setups: % to be documented ... yes, glorious day when all this will be finally documented ,o) Steffen
participants (3)
-
Hans Hagen
-
Steffen Wolfrum
-
Taco Hoekwater