Am 13.02.10 20:11, schrieb Vyatcheslav Yatskovsky:
Hello,
I have some troubles with interline space setup.
1) I want whole document to have medium interline space. When I put
\setupinterlinespace[medium]
in the preample (before \starttext), it has no effect at all. I want keep all style definitions in a separate environment module, so how to make this setting 'global'? You can't use relative interlinespacing in MkIV anymore because \starttext resets your setting. What you can do is to set a absolute value with \setupinterlinespace[line=18pt]. 2) The inbetween key does not work in the following command:
\definestartstop[example][style={\tfx}, before={\blank[small]}, after={\blank[small]}, inbetween={\setupinterlinespace[big]}]
I can write
before={\blank[small]\setupinterlinespace[big]}, after={\setupinterlinespace[medium]\blank[small]}
but in this way I hard-code document interlinespace (i.e., medium) in this definition, and this is not elegant solution at all. \definestartstop [example] [before={\blank[small]}, after={\blank[small]}, style=\tfx, commands={\setupinterlinespace[big]}]
Wolfgang