Re: [NTG-context] Letter backaddress

Top Page
Author: Wolfgang Schuster
Date:  
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Letter backaddress
On Fri, Jul 4, 2008 at 9:02 AM, Wolfgang Schuster
<schuster.wolfgang@???> wrote:
> On Thu, Jul 3, 2008 at 5:12 PM, Oliver Buerschaper
> <oliver.buerschaper@???> wrote:
>>> I could support name=yes and alike but I can't drop the
>>> \setupletter[list=...] because you need it to define your own
>>> reference
>>> line with personalized elements, e.g. your working in a company
>>> a put a sign for the letter there plus the number of the office etc.
>>
>> I'm sorry, didn't think of that. It makes sense, of course.
>>
>>
>>>> Another possibility would be removing the "backaddress=yes" switch
>>>> completely. Then if backaddress data is supplied it's printed along
>>>> with the line below and if not, well, then leave out the separator
>>>> line.
>>>>
>>>> What do you think?
>>>
>>> Have you tried what will happen with a enabled backaddress and
>>> no value for backaddress, fromname and fromaddress are shown
>>> as backaddress but I don't rely on this feature and change it to
>>> waht you suggested.
>>
>> I've just tried this quickly and this seems even better … then what
>> about removing the option "backaddress=yes" from "\setupletterstyle"
>> and provide a key "auto" for "backaddress" in "\setupletter"? Thus:
>
> I don't remove backaddress from \setupletterstyle because each layer
> has a boolean switch and I don't want a backaddress on my letters.
>
>> 1. No backaddress line
>>
>> \setupletter
>> [fromname={Arthur Thor},
>> fromaddress={Hidden Street 2\\57895 Mysterytown}]
>>
>> 2. backaddress line generated from sender information
>>
>> \setupletter
>> [fromname={Arthur Thor},
>> fromaddress={Hidden Street 2\\57895 Mysterytown},
>> backaddress=auto]
>>
>> 3. Custom backaddress
>>
>> \setupletter
>> [fromname={Arthur Thor},
>> fromaddress={Hidden Street 2\\57895 Mysterytown},
>> backaddress={Thor Inc., Mystery Street 5, 59875 Hidden Town}]
>
> I uploaded a new release with the option "yes", "auto" and "no" for the
> backaddress key, yes and auto use fromname and fromaddress,
> no sets no backaddress and you can write a cutomized backaddress
> with anything else as content for the backaddress key.


I will move this option in the next relase from \setupletter[backaddress=...]
to \setupletterstyle[backaddress][option][alternative=...] because it works
also with normal text as argument for \setupletter[backaddress=...].

Regards
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!


maillist : ntg-context@??? / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________