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 _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context