Am 20.09.2012 um 11:56 schrieb Marco Patzer <home...@lavabit.com>:

> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to