Thanks Taco, This solution works in that particular case. 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. David Le Mercredi 21 septembre 2005 à 16:13 +0200, Taco Hoekwater a écrit :
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@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context