From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22647 Path: news.gmane.org!not-for-mail From: David Munger Newsgroups: gmane.comp.tex.context Subject: Re: t-rsteps and starttyping Date: Wed, 21 Sep 2005 18:16:27 -0400 Message-ID: <1127340987.59949.61.camel@tempete> References: <1119909965.13762.21.camel@localhost.localdomain> <1126562259.1418.41.camel@tempete> <43315428.90603@creutzig.de> <1127311214.59949.48.camel@tempete> <43316A9E.90905@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1127341038 29477 80.91.229.2 (21 Sep 2005 22:17:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2005 22:17:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 22 00:17:11 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EICtK-0008Su-Rp for gctc-ntg-context-518@m.gmane.org; Thu, 22 Sep 2005 00:16:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB9FE127E8; Thu, 22 Sep 2005 00:16:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08732-07; Thu, 22 Sep 2005 00:16:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 070841278D; Thu, 22 Sep 2005 00:16:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F11951278D for ; Thu, 22 Sep 2005 00:16:29 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08818-02-2 for ; Thu, 22 Sep 2005 00:16:29 +0200 (CEST) Original-Received: from tomts36-srv.bellnexxia.net (tomts36.bellnexxia.net [209.226.175.93]) by ronja.ntg.nl (Postfix) with ESMTP id 2990A12783 for ; Thu, 22 Sep 2005 00:16:28 +0200 (CEST) Original-Received: from HSE-Toronto-ppp185522.sympatico.ca ([64.229.110.253]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050921221627.HASK16985.tomts36-srv.bellnexxia.net@HSE-Toronto-ppp185522.sympatico.ca> for ; Wed, 21 Sep 2005 18:16:27 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <43316A9E.90905@elvenkind.com> X-Mailer: Evolution 2.4.0 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22647 Archived-At: 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 =C3=A0 16:13 +0200, Taco Hoekwater a =C3=A9= crit : > Hi, >=20 > \starttyping needs to be followed by a newline, but macro > arguments cannot contain newlines unless \obeylines is in > effect. So: >=20 > \def\StartLong{\begingroup\obeylines\doStartLong} > \long\def\doStartLong#1\StopLong{\scantokens{#1}\endgroup} >=20 > Cheers, >=20 > Taco >=20 > David Munger wrote: > >=20 > > I do need the argument. Its use is repeated in the real macro. > >=20 > >=20 > >>\long\def\StartLong#1\StopLong{\scantokens{#1}} > >=20 > >=20 > > This produces no output as well. texexec says: > > No pages of output. > >=20 > > Thanks anyway. > >=20 > > David > >=20 > > _______________________________________________ > > 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