Hallo Wolfgang,

> You're mixing different things.
> > What is the difference between
> >
> > \setupletterstyle[option][backaddress=yes]
> >    
> With \setupletterstyle[<element>=yes|no] you can show or hide
> elements

ok!

> > \setupletterstyle[backaddress][alternative=yes]
> >     
> > In 'default.nli' I found
> >
> > \defineletterelement[\v!backaddress][\v!auto]
> >    {\doifelselettervalue\c!backaddress
> >       {\lettervalue\c!backaddress}
> >       {\lettervalue\c!fromname
> >        \doiflettervalue\c!fromaddress\\
> >        \lettervalue\c!fromaddress}}
> >
> > what I interpret in the following way:
> >
> > If 'backaddress'=auto
> >    If exist a constant 'backaddress'
> >      use it
> >    else
> >      compose one from 'fromname' and 'fromaddress'
> >    
> The constant needs a content, if there is no content for
> 'backadress' the field is filled with 'fromname' and 'fromaddress'.

So let's test if I have understand this:

With

\setupletterstyle[option][backaddress=no|yes]

one can disable|enable a backaddress.

With

\setupletterstyle[backaddress][alternative=no|yes|auto]

one can select between
no backadress|
a composed backaddress from the fromdata|
the yes behaviour if no predefined backaddress is defined

And to define such a own backaddress, one uses

\setlettervalue{backaddress}{something}

Hopefully this is right!

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