From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61444 Path: news.gmane.org!not-for-mail From: benedikt k Newsgroups: gmane.comp.tex.context Subject: Module t-letter: Headers, Footers And Back Address Date: Fri, 3 Sep 2010 02:13:53 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001485f7765659b2f9048f4fce1c X-Trace: dough.gmane.org 1283496666 13101 80.91.229.12 (3 Sep 2010 06:51:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2010 06:51:06 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 03 08:51:04 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 1OrQ74-0007Q6-BJ for gctc-ntg-context-518@m.gmane.org; Fri, 03 Sep 2010 08:51:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19AC8CA64A; Fri, 3 Sep 2010 08:51:01 +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 8TIWSEyNTmVY; Fri, 3 Sep 2010 08:50:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D8A46CA63A; Fri, 3 Sep 2010 08:50:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ADA71CA653 for ; Fri, 3 Sep 2010 02:14:06 +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 mtmeQIdqFL8X for ; Fri, 3 Sep 2010 02:13:55 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 38874CA64B for ; Fri, 3 Sep 2010 02:13:55 +0200 (CEST) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o830Dsp4027862 for ; Fri, 3 Sep 2010 02:13:54 +0200 Original-Received: by wwe15 with SMTP id 15so368520wwe.2 for ; Thu, 02 Sep 2010 17:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=c3lyKGmmdeUmevoEPkp4zcZeMsy8Mk7PSeavWA8RLLA=; b=xKFU4pwqqgv2EDquy1jWlfrSQN1XUnROdELWL3L9/3HTpJpyMtRXEwKk4xmD2J11cv LFsGm+jYCvyOAxqFYCMdYpe1T/l7jGm74m7Roa17+m46S58cp3jQGSAjcnpYHevITgJr uPVQCzDZxRAX7Pw5jO0DKrVklZ+ICwxE/Kosc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eUB93iUrHk45utDE8+XJZaFP35esQwwIltNN9eDbFmJux0Dsdg8UMDmZHKPYxe58bk KryVAnGDo4K5n2God6vuzIdd34mVOIt12UArWPhDUJx7YDOpuj5on077Xba/ISaMXBm2 JRzC43bHGbrS7VbDEms7n06NEfJ3lLYes9idY= Original-Received: by 10.227.133.69 with SMTP id e5mr290109wbt.51.1283472834015; Thu, 02 Sep 2010 17:13:54 -0700 (PDT) Original-Received: by 10.227.199.81 with HTTP; Thu, 2 Sep 2010 17:13:53 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dD20dSTb - 1248d4b7eb4c - 20100903 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Mailman-Approved-At: Fri, 03 Sep 2010 08:50:56 +0200 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:61444 Archived-At: --001485f7765659b2f9048f4fce1c Content-Type: text/plain; charset=ISO-8859-1 Hello everyone, an issue arised while writing a letter with the third party module t-letter (http://modules.contextgarden.net/letter). I've read the official documentation (Correspondence with ConTeXt) but I found no solution to: a) Setup a header/footer for the first page and configure a different one for the following pages. Page 46 of the documentation describes the setup of the specific (letter) layers. With the "state" parameter it's possible to enable (= "start"), disable (= "stop") the header or start it on the second page and the following (= "next"), but if I configure the header for the first page with \setupletterstyle[head] [ state=start, alternative=left, fromrule=top, ] and then for the following pages \setupletterstyle[head] [ state=next, ... ] only the second setup is typeset. From this it follows that the first setup is just overwritten. The header on the first page should only contain a name and than a thin line (a "\hairline" similar to the built-in variable "fromrule"). The header on the following pages should contain variable things and than also a thin line. Unfortunately I found no possibility to get this done. b) I would like to define a back address which should be typeset above the addressee. Page 44 of the documentation illustrates amongst other layers the back address layer, but there is no way to activate and configure this layer. I've tried it with \setupletter[backaddress][...] and \setuplayer[backaddress][...]. Maybe someone have a tip. Thank you and have a nice week. Benedikt ps: A small (commented) letter template is attached below (as tex file). --001485f7765659b2f9048f4fce1c Content-Type: application/x-tex; name="letter.tex" Content-Disposition: attachment; filename="letter.tex" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gdm9z7l90 JSBUZW1wbGF0ZSBmb3IgdXNpbmcgd2l0aCBDb25UZVh0J3MgdGhpcmQgcGFydHkgbW9kdWxlIGxl dHRlci4KJQolIGh0dHA6Ly9tb2R1bGVzLmNvbnRleHRnYXJkZW4ubmV0L2xldHRlcgoKJSA9PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09ICUKJSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICUKJSAgICAgICAgICBTZXR1 cCBBcmVhIChzb3J0ZWQgYnkgY2F0ZWdvcnkgYW5kIHdpdGhpbiBhbHBoYWJldGljYWxseSkgICAg ICAgICAgICUKJSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICUKJSA9PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ICUK CiUgPT09PT09PT09PT09PT0KJSBJbnB1dCBFbmNvZGluZwolID09PT09PT09PT09PT09ClxlbmFi bGVyZWdpbWVbdXRmLThdCgolID09PT09PT09PT09PT09PT09PT09CiUgSHlwaGVuYXRpb24gTGFu Z3VhZ2UKJSA9PT09PT09PT09PT09PT09PT09PQpcbGFuZ3VhZ2VbZGVdCgolID09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09CiUg QXV0by1HZW5lcmF0ZWQgTGFuZ3VhZ2UgRWxlbWVudHMgKGZvciBpbnN0YW5jZSB0YWJsZSBvZiBj b250ZW50cykKJSA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PQpcbWFpbmxhbmd1YWdlW2RlXQoKJSA9PT09PT09PT09PQolIExv YWQgTW9kdWxlCiUgPT09PT09PT09PT0KXHVzZW1vZHVsZVtsZXR0ZXJdCgolID09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PQolIFNldHVwIFNwZWNpZmljIE1vZHVsZSBDb21tYW5kcwolID09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PQoKJSBBZGRyZXNzZXIgQW5kIEFkZHJlc3NlZQol ID09PT09PT09PT09PT09PT09PT09PT09ClxzZXR1cGxldHRlcgpbCglmcm9tbmFtZT17TmFtZSBT dXJuYW1lfSwKCWZyb21hZGRyZXNzPXtTdHJlZXQgTm8uXFxQb3N0IENvZGUgQW5kIENpdHl9LAoJ dG9uYW1lPXtOYW1lIFN1cm5hbWV9LAoJdG9hZGRyZXNzPXtTdHJlZXQgTm8uXFxQb3N0IENvZGUg QW5kIENpdHl9LApdCgolIEdyZWV0aW5ncyBBbmQgU2lnbmF0dXJlCiUgPT09PT09PT09PT09PT09 PT09PT09PT0KXHNldHVwbGV0dGVyClsKCWNsb3Npbmc9e0tpbmQgcmVnYXJkcy59LAoJb3Blbmlu Zz17RGVhciBTaXIgb3IgTWFkYW0sfSwKCXNpZ25hdHVyZT17U2lnbmF0dXJlfSwKXQoKJSBSZWZl cmVuY2UgTGluZSBEYXRhCiUgPT09PT09PT09PT09PT09PT09PQpcc2V0dXBsZXR0ZXIKWwoJZGF0 ZT17XGN1cnJlbnRkYXRlfSwKCW5hbWU9e0JlbmVkaWt0IEtsZWlubWVpZXJ9LAoJcGhvbmU9eygw IDgwIDIwKSA5MCA4NCA5NX0sCl0KCiUgU3ViamVjdCBBbmQgVGl0bGUKJSA9PT09PT09PT09PT09 PT09PQpcc2V0dXBsZXR0ZXIKWwoJc3ViamVjdD17U3ViamVjdH0sCgl0aXRsZT17fSwKXQoKJSBM ZXR0ZXJzdHlsZQolID09PT09PT09PT09ClxzZXR1cGxldHRlcnN0eWxlW21hcmtpbmc9eWVzXQoK XHNldHVwbGV0dGVyc3R5bGUKW2hlYWRdClsKCWFsdGVybmF0aXZlPWxlZnQsCglmcm9tcnVsZT10 b3AsCl0KClxzZXR1cGxldHRlcnN0eWxlCltyZWZlcmVuY2VdClsKCWFsdGVybmF0aXZlPWEsCiUJ bGlzdD17bmFtZSxwaG9uZSxkYXRlfSwKXQoKJSA9PT09PT09PT09PT09PT09PT09PT09PQolIFNl dHVwIFNwZWNpZmljIENvbW1hbmRzCiUgPT09PT09PT09PT09PT09PT09PT09PT0KXHNldHVwYm9k eWZvbnRbMTJwdF0KXHNldHVwY29sb3JzW3N0YXRlPXN0YXJ0XQpcc2V0dXBpbnRlcmFjdGlvbgpb CglzdGF0ZT1zdGFydCwKCWF1dGhvcj0sCglrZXl3b3JkPSwKCXN1YnRpdGxlPSwKCXRpdGxlPSwK XQolIFxzZXR1cHBhZ2VudW1iZXJpbmdbbG9jYXRpb249XQolIHBhcGVyIHNpemUgKGZpcnN0IGFy ZyA9IHR5cGVzZXR0aW5nIGFyZWEsIHNlY29uZCBhcmcgPSBwcmludGluZyBhcmVhKQpcc2V0dXBw YXBlcnNpemVbQTRdW0E0XQpcc2V0dXBvdXRwdXRbcGRmXQpcc2V0dXB3aGl0ZXNwYWNlW2JpZ10K CiUgPT09PT09PT09PT09PT09PT09PT09CiUgVXNlci1EZWZpbmVkIENvbW1hbmRzCiUgPT09PT09 PT09PT09PT09PT09PT09CgolID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0gJQolICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgJQolICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFRleHQgQXJlYSAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJQolICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJQol ID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT0gJQoKXHN0YXJ0dGV4dAoKXHN0YXJ0bGV0dGVyClRoaXMgaXMg YSBwYXJhZ3JhcGguCgolIFxwc3t9CgolIFxlbmNse30KXHN0b3BsZXR0ZXIKClxzdG9wdGV4dAo= --001485f7765659b2f9048f4fce1c Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --001485f7765659b2f9048f4fce1c--