From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42127 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Letter backaddress Date: Fri, 4 Jul 2008 09:02:40 +0200 Message-ID: <115224fb0807040002vc3466bck17a9486ce674f10d@mail.gmail.com> References: <115224fb0807030330l590f5aaeq374a253292c0607d@mail.gmail.com> <115224fb0807030332i38c1aaa7s682169e753881d46@mail.gmail.com> <172BF122-DD85-41FE-AD3E-2920538A34B1@mpq.mpg.de> <115224fb0807030620p6e7f8b15s669222dbfce505db@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 1215155124 17371 80.91.229.12 (4 Jul 2008 07:05:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2008 07:05:24 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 04 09:06:09 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 1KEfLt-0008EY-7H for gctc-ntg-context-518@m.gmane.org; Fri, 04 Jul 2008 09:05:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E15081FEAC; Fri, 4 Jul 2008 09:04:09 +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 02705-02; Fri, 4 Jul 2008 09:03:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CAB3A1FE8D; Fri, 4 Jul 2008 09:03:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 188121FE8D for ; Fri, 4 Jul 2008 09:03:20 +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 32258-04-8 for ; Fri, 4 Jul 2008 09:02:46 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.155]) by ronja.ntg.nl (Postfix) with ESMTP id BE1661FE72 for ; Fri, 4 Jul 2008 09:02:45 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so657976ywm.74 for ; Fri, 04 Jul 2008 00:02:40 -0700 (PDT) Original-Received: by 10.150.122.13 with SMTP id u13mr1419597ybc.63.1215154960510; Fri, 04 Jul 2008 00:02:40 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Fri, 4 Jul 2008 00:02:40 -0700 (PDT) In-Reply-To: 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:42127 Archived-At: 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. 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 ___________________________________________________________________________= ________