From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84045 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: letter module: File ended while scanning use of \buff_gobble Date: Sun, 1 Sep 2013 14:09:40 +0200 Message-ID: References: <87y5e3qnd5.fsf@micropit.couberia.selfip.net> <7E754AE0-FFF6-4C04-9DD2-0C7FE764FE2E@gmail.com> <87wqn0u68b.fsf@micropit.couberia.selfip.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1378037418 8173 80.91.229.3 (1 Sep 2013 12:10:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Sep 2013 12:10:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 01 14:10:22 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 1VG6U2-0001e1-GK for gctc-ntg-context-518@m.gmane.org; Sun, 01 Sep 2013 14:10:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 275AF10204; Sun, 1 Sep 2013 14:08:55 +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 3EQoue7r+LGI; Sun, 1 Sep 2013 14:08:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3C4A010201; Sun, 1 Sep 2013 14:08:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B800F10201 for ; Sun, 1 Sep 2013 14:08:42 +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 xuD-NFmy1hYc for ; Sun, 1 Sep 2013 14:08:15 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 914B010200 for ; Sun, 1 Sep 2013 14:08:15 +0200 (CEST) Original-Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [IPv6:2a00:1450:4013:c00::235]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r81CAQ0K002072 for ; Sun, 1 Sep 2013 14:10:26 +0200 Original-Received: by mail-ee0-f53.google.com with SMTP id b15so1810298eek.12 for ; Sun, 01 Sep 2013 05:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=OY/tNfyLSWNGyzA4cTz8oo2v/VBsuEeB4ZZnDHQo4/Q=; b=ktiGMcto/aw6SpDiLbllZGj+fETyRKXv4oOththK2IHdQLr745kXwxy1/KLMkZt7si iIecpd8nZJBXVHIysY1QI22CO7FIovmFUF+Xz2d6SEYqFnPb5NmJmO2fFAGl6100rl71 bMPAI4Z3BstRnFPtqQ2NLt7KN2P6i8+PK4zehlEAsejyBYPgxBL2TqBl1vG75zJZ8uS+ wwPoqgZ6xoClvnpZ54+GBrYko9tBdrnSUIMqMjG6iarY8qLmD5kOfsWEo4ONzNnNBWc/ rJlD6yCi+llCCOU3H1gyKCFLzIrfMn10mHprlsKkfzYGXEBxsgbytSdIHFeO0V8192bk zCaQ== X-Received: by 10.15.100.198 with SMTP id bn46mr27877157eeb.11.1378037381684; Sun, 01 Sep 2013 05:09:41 -0700 (PDT) Original-Received: from keima.localdomain (x2f24261.dyn.telefonica.de. [2.242.66.97]) by mx.google.com with ESMTPSA id a6sm12846515eei.10.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 01 Sep 2013 05:09:41 -0700 (PDT) In-Reply-To: <87wqn0u68b.fsf@micropit.couberia.selfip.net> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::235; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KjMaqhS - cc4d887c37a0 - 20130901 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:84045 Archived-At: Am 01.09.2013 um 13:33 schrieb Peter M=FCnster : > On Mon, Mar 04 2013, Wolfgang Schuster wrote: > = >> \usemodule[letter] >> = >> \startsetups[letter:section:content] >> \getbuffer[MyLetter] >> \stopsetups >> = >> \setuplettersection[content][alternative=3Dsetups] >> = >> \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--- \startrawsetups[letter:section:content] Text before the content of the letter. \getbuffer[MyLetter] Text after the content of the letter. \stoprawsetups Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________