From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42091 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Letter backaddress Date: Thu, 3 Jul 2008 12:30:53 +0200 Message-ID: <115224fb0807030330l590f5aaeq374a253292c0607d@mail.gmail.com> References: 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 1215081213 17518 80.91.229.12 (3 Jul 2008 10:33:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 10:33:33 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 03 12:34:19 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 1KEM8h-0006Yk-2B for gctc-ntg-context-518@m.gmane.org; Thu, 03 Jul 2008 12:34:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 048DD1FEB9; Thu, 3 Jul 2008 12:33:18 +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 19440-02-26; Thu, 3 Jul 2008 12:32:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 320631FE83; Thu, 3 Jul 2008 12:32:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 97E231FE83 for ; Thu, 3 Jul 2008 12:32:27 +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 22680-01-12 for ; Thu, 3 Jul 2008 12:31:49 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.156]) by ronja.ntg.nl (Postfix) with ESMTP id C72961FE54 for ; Thu, 3 Jul 2008 12:31:08 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so467255ywm.74 for ; Thu, 03 Jul 2008 03:30:53 -0700 (PDT) Original-Received: by 10.151.155.21 with SMTP id h21mr100286ybo.143.1215081053679; Thu, 03 Jul 2008 03:30:53 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Thu, 3 Jul 2008 03:30:53 -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:42091 Archived-At: On Thu, Jul 3, 2008 at 12:23 PM, Oliver Buerschaper wrote: > Dear Wolfgang, > > I'm struggling with the backaddress option =85 I tried the following code > > --- > \usemodule[letter] > > > > \starttext > > > \setupletter > [fromname=3D{Arthur Thor}, > fromaddress=3D{Hidden Street 2\\57895 Mysterytown}, > backaddress=3D{Arthur Thor, Hidden Street 2, 57895 Mysterytown}] > > \setupletter > [toname=3D{Mike Willson}, > toaddress=3D{Lindenstreet 12\\78569 TeX City}] > > \startletter > [subject=3D{Step by step guide to writing a letter}, > opening=3D{Dear Reader,}, > closing=3D{Greetings from the Author}] > > \input knuth > > \stopletter > > > \stoptext > --- > > but couldn't see the backaddress line in the output. What do I have to > change? There is nothing wrong with your file, I just forgot to add it. Try the following patch, I will release a new version ASAP. Please give me a feedback if this did work. \unprotect \startsetups[letter:backaddress] \def\\{\lettervalue{\c!backaddress\c!separator}} \doifelselettervalue\v!backaddress {\lettervalue\v!backaddress} {\lettervalue\c!fromname \doiflettervalue\c!fromaddress\\ \lettervalue\c!fromaddress} \stopsetups \protect 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 ___________________________________________________________________________= ________