From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42246 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Letter backaddress Date: Wed, 9 Jul 2008 08:46:56 +0200 Message-ID: <115224fb0807082346g1c080097q63c88afbfb679eb0@mail.gmail.com> References: <115224fb0807030330l590f5aaeq374a253292c0607d@mail.gmail.com> <115224fb0807030332i38c1aaa7s682169e753881d46@mail.gmail.com> <172BF122-DD85-41FE-AD3E-2920538A34B1@mpq.mpg.de> <115224fb0807030620p6e7f8b15s669222dbfce505db@mail.gmail.com> <115224fb0807040002vc3466bck17a9486ce674f10d@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215586148 6061 80.91.229.12 (9 Jul 2008 06:49:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2008 06:49:08 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 09 08:49:55 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KGTUx-0003TI-6t for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jul 2008 08:49:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 34D751FDDB; Wed, 9 Jul 2008 08:49:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01125-06-14; Wed, 9 Jul 2008 08:48:08 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3B5041FD8C; Wed, 9 Jul 2008 08:48:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D28B21FB8C for ; Wed, 9 Jul 2008 08:48:02 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05333-01-12 for ; Wed, 9 Jul 2008 08:47:17 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.153]) by ronja.ntg.nl (Postfix) with ESMTP id E56CE1FCE3 for ; Wed, 9 Jul 2008 08:47:16 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so1836104ywm.74 for ; Tue, 08 Jul 2008 23:46:56 -0700 (PDT) Original-Received: by 10.151.38.11 with SMTP id q11mr3487952ybj.101.1215586016307; Tue, 08 Jul 2008 23:46:56 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Tue, 8 Jul 2008 23:46:56 -0700 (PDT) In-Reply-To: <115224fb0807040002vc3466bck17a9486ce674f10d@mail.gmail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:42246 Archived-At: On Fri, Jul 4, 2008 at 9:02 AM, Wolfgang Schuster wrote: > On Thu, Jul 3, 2008 at 5:12 PM, Oliver Buerschaper > wrote: >>> I could support name=3Dyes and alike but I can't drop the >>> \setupletter[list=3D...] 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=3Dyes" 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 =85 then what >> about removing the option "backaddress=3Dyes" 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=3D{Arthur Thor}, >> fromaddress=3D{Hidden Street 2\\57895 Mysterytown}] >> >> 2. backaddress line generated from sender information >> >> \setupletter >> [fromname=3D{Arthur Thor}, >> fromaddress=3D{Hidden Street 2\\57895 Mysterytown}, >> backaddress=3Dauto] >> >> 3. Custom backaddress >> >> \setupletter >> [fromname=3D{Arthur Thor}, >> fromaddress=3D{Hidden Street 2\\57895 Mysterytown}, >> backaddress=3D{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=3D= ...] to \setupletterstyle[backaddress][option][alternative=3D...] because it wor= ks also with normal text as argument for \setupletter[backaddress=3D...]. Regards 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________