On Sunday 23 June 2002 05:07, Hans Hagen wrote:

> \definestartstop
>    [test]
>    [before={\setupinterlinespace[1.5]},
>     after=\endgraf]
>
> will work ok, you need to end a par within the group, since tex uses par
> specific spacing settings that count at th eend of a paragraph (which in
> your case is ended *after* the start/stop group ends

Now we have another problem, the paragraph after \stoptest does not revert 
back to the old interlinespace:

\definestartstop
   [test]
   [before={\setupinterlinespace[2]},
    after=\endgraf]

\starttext

\starttest
This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test

This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test
\stoptest

This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test

\stoptext

> compare:
>
> \bgroup \baselineskip 1cm \input tufte \egroup \par
>
> \bgroup \baselineskip 1cm \input tufte \par \egroup
>
> [same for left/rightskip and indentation]

I tried

\bgroup \baselineskip 1cm \input tufte \egroup \par

\input tufte

\bgroup \baselineskip 1cm \input tufte \par \egroup

\input tufte

The  line
\bgroup \baselineskip 1cm \input tufte \par \egroup
does not have the same problem as the start/stoptest environment.

Best
Idris

-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80526

Reply via email to