Am 01.09.2013 um 13:33 schrieb Peter Münster <pmli...@free.fr>:

> 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---

\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 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
___________________________________________________________________________________

Reply via email to