[NTG-context] t-rsteps and starttyping

Taco Hoekwater taco at elvenkind.com
Wed Sep 21 16:13:50 CEST 2005


Hi,

\starttyping needs to be followed by a newline, but macro
arguments cannot contain newlines unless \obeylines is in
effect. So:

   \def\StartLong{\begingroup\obeylines\doStartLong}
   \long\def\doStartLong#1\StopLong{\scantokens{#1}\endgroup}

Cheers,

Taco

David Munger wrote:
> 
> I do need the argument. Its use is repeated in the real macro.
> 
> 
>>\long\def\StartLong#1\StopLong{\scantokens{#1}}
> 
> 
> This produces no output as well. texexec says:
> No pages of output.
> 
> Thanks anyway.
> 
> David
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context


More information about the ntg-context mailing list