From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80805 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: code after \stopbuffer Date: Wed, 13 Feb 2013 22:34:59 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360791307 27202 80.91.229.3 (13 Feb 2013 21:35:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Feb 2013 21:35:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 13 22:35:27 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5jzC-0000yU-IB for gctc-ntg-context-518@m.gmane.org; Wed, 13 Feb 2013 22:35:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 157BB10244; Wed, 13 Feb 2013 22:35:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FdOXQph3G15f; Wed, 13 Feb 2013 22:35:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1B1011022A; Wed, 13 Feb 2013 22:35:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 487271022A for ; Wed, 13 Feb 2013 22:35:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id F0Z7Jl2J8ufV for ; Wed, 13 Feb 2013 22:35:03 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 85FA2101FA for ; Wed, 13 Feb 2013 22:35:03 +0100 (CET) Original-Received: from mail-bk0-f51.google.com (mail-bk0-f51.google.com [209.85.214.51]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1DLZ2Uq021608 for ; Wed, 13 Feb 2013 22:35:02 +0100 Original-Received: by mail-bk0-f51.google.com with SMTP id ik5so758352bkc.24 for ; Wed, 13 Feb 2013 13:35:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=A4CKgcl982KUpnK93hYFHggJDdiZQ5r094LieVILzHg=; b=AUJZznYFu+dhddDrQs+pnapA3+ie/+ac+TlTUDmvnI6RCKr3HJt9BD4+Ch2cyXnsHg 58DJFt6jOvbT0kNXITc6Dt93PdqKSkRYdHQolFKcZVEXREs4bUztHCWsvUgqWPmIN4O/ yB1oniyA16Twav6E55IQGNwk65YkJJM6EPXlrzlzSkbuP/sJnd4iLXgCHT24t5I5GZNc ThCcO7Kk4DVwRRd+OBgJ6imdteBG/hRPOKzf5RGOYRHwdZ52BnKiFw7v7emGt7wqkWox vaW13/uxnASZTs1k3qwi6EpKFvd+5NUT7J3dVOgI02BgdiyPoFKKxDuUIPXjENQV056T anSw== X-Received: by 10.204.151.9 with SMTP id a9mr7074455bkw.90.1360791302130; Wed, 13 Feb 2013 13:35:02 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4dbf8ca5.pool.mediaWays.net. [77.191.140.165]) by mx.google.com with ESMTPS id gy3sm16024140bkc.16.2013.02.13.13.34.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 13:35:00 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.51; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06IXVz2Qx - 4e1fa73414a0 - 20130213 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80805 Archived-At: Am 13.02.2013 um 17:49 schrieb H. van der Meer : > Is it possible to have a command automatically executed each time \stopbuffer has been read? Preferably coupled to a specific named \startbuffer[this_one], iff possible at all of course. > > Thus: > \startbuffer[this_one] > ..contents.. > \stopbuffer % in execution followed by \command \def\startmybuffer {\grabbufferdata[mybuffer][startmybuffer][stopmybuffer]} \def\stopmybuffer {\startframedtext[width=max] \getbuffer[mybuffer] \stopframedtext} \starttext \startmybuffer \input knuth \stopmybuffer \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________