![](https://secure.gravatar.com/avatar/3d86d93abcc56d7b5843cc1ce58bbfd6.jpg?s=120&d=mm&r=g)
22 Sep
2005
22 Sep
'05
12:56 a.m.
David Munger wrote:
Unfortunately, the \StartLong macro is not meant only for producing line-wise content. In the general case, it contains something else than just \starttyping block.
Please try this: \bgroup \catcode`\^^M=\active \gdef\StartLong{\begingroup\obeylines\let^^M^^J\doStartLong} \egroup \def\doStartLong#1\StopLong{% \setbuffer[x]#1\endbuffer \endgroup \getbuffer[x] } \starttext \StartLong \starttyping abcde \stoptyping and now for something completely different \StopLong \stoptext Christopher