From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84044 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: letter module: File ended while scanning use of \buff_gobble Date: Sun, 01 Sep 2013 13:33:08 +0200 Message-ID: <87wqn0u68b.fsf@micropit.couberia.selfip.net> References: <87y5e3qnd5.fsf@micropit.couberia.selfip.net> <7E754AE0-FFF6-4C04-9DD2-0C7FE764FE2E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378036270 30393 80.91.229.3 (1 Sep 2013 11:51:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Sep 2013 11:51:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 01 13:51:13 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VG6BU-0001WV-Pw for gctc-ntg-context-518@m.gmane.org; Sun, 01 Sep 2013 13:51:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6254110207; Sun, 1 Sep 2013 13:49:45 +0200 (CEST) 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 Z9ESP2GITb6Q; Sun, 1 Sep 2013 13:49:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 334D810200; Sun, 1 Sep 2013 13:49:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06AED10200 for ; Sun, 1 Sep 2013 13:49:34 +0200 (CEST) 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 6EFAWUI7lGQ9 for ; Sun, 1 Sep 2013 13:49:24 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 5FF59101F9 for ; Sun, 1 Sep 2013 13:49:24 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r81BooHd002499 for ; Sun, 1 Sep 2013 13:50:50 +0200 Original-Received: from micropit.couberia.selfip.net ([2.2.136.209]) by mwinf5d52 with ME id Knqn1m00Y4XEmYa03nqpJB; Sun, 01 Sep 2013 13:50:50 +0200 Original-Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id A3B3AA61776; Sun, 1 Sep 2013 13:33:08 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <7E754AE0-FFF6-4C04-9DD2-0C7FE764FE2E@gmail.com> (Wolfgang Schuster's message of "Mon, 4 Mar 2013 20:11:28 +0100") User-Agent: Gnus/5.130008 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.127; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QKjLOOMn - ad38661d10ed - 20130901 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:84044 Archived-At: On Mon, Mar 04 2013, Wolfgang Schuster wrote: > \usemodule[letter] > > \startsetups[letter:section:content] > \getbuffer[MyLetter] > \stopsetups > > \setuplettersection[content][alternative=setups] > > \def\StartLetter > {\starttext > \grabbufferdata[MyLetter][StartLetter][StopLetter]} > > \def\StopLetter > {\placeletter > \stoptext} > > \StartLetter > \input tufte > \StopLetter Thanks Wolfgang. How could I add something at the start and at the end of the letter? This does not work: --8<---------------cut here---------------start------------->8--- \def\StartLetter {\starttext \grabbufferdata[MyLetter][StartLetter][StopLetter] something at the start of the letter} \def\StopLetter {something at the end of the letter \placeletter \stoptext} --8<---------------cut here---------------end--------------->8--- TIA for any help, -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________