![](https://secure.gravatar.com/avatar/27c34cb91f1e92bd850fe60b3d9ef336.jpg?s=120&d=mm&r=g)
Am 20.09.2012 um 11:56 schrieb Marco Patzer
Hi,
inside a TEXpage the tolerance and the whitespace settings are not applied. The whitespace can be set in a setup and the tolerance can be set directly with \spaceskip, but that seems a bit hackish.
Is that intended and is there a cleaner solution? Example:
\setuplayout [width=8cm] \setupbodyfont [mono] \startsetups [myset] \setupwhitespace [big] \setuptolerance [space] \stopsetups \setups{myset}
\starttext \startTEXpage [setups=myset] %% \spaceskip .5em plus .25em minus .25em \input knuth \stopTEXpage
\input knuth \stoptext
The problem here is that your setups are used but the value from the align key overwrite them which can’t be changed. One solution is to put \texsetup{myset} after \startTEXpage but this has to be done for each page, the better solution is to misuse the command key to flush the setups content. \setuplayout [width=8cm] \setupbodyfont [mono] \startsetups [myset] \setupwhitespace [big] \setuptolerance [space] \stopsetups \setupfittingpage[TEXpage][command=\texsetup{myset}] \starttext \startTEXpage \input knuth \stopTEXpage \input knuth \stoptext Wolfgang