From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57540 Path: news.gmane.org!not-for-mail From: "Wolfgang Werners-Lucchini" Newsgroups: gmane.comp.tex.context Subject: Re: letter: backaddress Date: Sun, 28 Mar 2010 15:39:31 +0200 Message-ID: <4BAF7833.30045.521F838@wwl.musensturm.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269783476 24078 80.91.229.12 (28 Mar 2010 13:37:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Mar 2010 13:37:56 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 28 15:37:51 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NvsgZ-0003Ie-0F for gctc-ntg-context-518@m.gmane.org; Sun, 28 Mar 2010 15:37:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6B8FCC9D4C; Sun, 28 Mar 2010 15:37:44 +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 AoFQN5tpIKfJ; Sun, 28 Mar 2010 15:37:40 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D82BDC9D31; Sun, 28 Mar 2010 15:37:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 113F6C9C7E for ; Sun, 28 Mar 2010 15:37:35 +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 WScrveRKxYzC for ; Sun, 28 Mar 2010 15:37:32 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by balder.ntg.nl (Postfix) with ESMTP id 9B320C9D0F for ; Sun, 28 Mar 2010 15:37:32 +0200 (CEST) Original-Received: from [192.168.178.23] (p4FC7A791.dip0.t-ipconnect.de [79.199.167.145]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LpQRR-1NPpZx0run-00fiWC; Sun, 28 Mar 2010 15:37:32 +0200 Priority: normal In-reply-to: X-mailer: Pegasus Mail for Windows (4.41, DE v4.41 R1) Content-description: Mail message body X-Provags-ID: V01U2FsdGVkX1/KqoC+KP187KRud4SRxyGNGoKUJpA5vro5AVO 5LOIZyo9h1xNv0nJDOV69Eb81O3+bfHrCzNX8jFkR2l4OQkBeG 1A9yc7Ia86kzORU4/i+XA== X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:57540 Archived-At: Hallo Wolfgang, > You're mixing different things. > > What is the difference between > > > > \setupletterstyle[option][backaddress=yes] > > > With \setupletterstyle[=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 ___________________________________________________________________________________