From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22650 Path: news.gmane.org!not-for-mail From: Christopher Creutzig Newsgroups: gmane.comp.tex.context Subject: Re: t-rsteps and starttyping Date: Thu, 22 Sep 2005 08:56:17 +0200 Message-ID: <43325591.5000108@creutzig.de> 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> <1127340987.59949.61.camel@tempete> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1127372328 29508 80.91.229.2 (22 Sep 2005 06:58:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2005 06:58:48 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 22 08:58:39 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 1EIL2M-0004aQ-8t for gctc-ntg-context-518@m.gmane.org; Thu, 22 Sep 2005 08:58:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1042E127DC; Thu, 22 Sep 2005 08:58:30 +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 13600-01; Thu, 22 Sep 2005 08:58:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86A1E127C5; Thu, 22 Sep 2005 08:56:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C93BA127C5 for ; Thu, 22 Sep 2005 08:56:22 +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 13220-04 for ; Thu, 22 Sep 2005 08:56:21 +0200 (CEST) Original-Received: from mailgate.uni-paderborn.de (mailgate.uni-paderborn.de [131.234.22.32]) by ronja.ntg.nl (Postfix) with ESMTP id E52AA127B0 for ; Thu, 22 Sep 2005 08:56:21 +0200 (CEST) Original-Received: from p548b2a55.dip0.t-ipconnect.de ([84.139.42.85] helo=[192.168.1.2]) by mailgate.uni-paderborn.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.43) id 1EIL1E-0005ds-Hw for ntg-context@ntg.nl; Thu, 22 Sep 2005 08:57:20 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <1127340987.59949.61.camel@tempete> X-Enigmail-Version: 0.92.0.0 X-UNI-PB_FAK-EIM-MailScanner-Information: Please see http://imap.uni-paderborn.de for details X-UNI-PB_FAK-EIM-MailScanner: Found to be clean X-UNI-PB_FAK-EIM-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.208, required 4, AUTH_EIM_USER -5.00, RCVD_IN_NJABL_DUL 1.66, RCVD_IN_SORBS_DUL 0.14) X-MailScanner-From: christopher@creutzig.de 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:22650 Archived-At: 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