From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51538 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: letter/correspondence module Date: Mon, 29 Jun 2009 18:38:25 +0200 Message-ID: <0884C8C4-C96C-4F5E-BD2D-62B6662EDB6D@gmail.com> References: <247A75D9-1059-45B9-8BA8-B3E59481A994@fiee.net> <300AF404-5779-4D67-A315-C087C267DF91@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246293575 5921 80.91.229.12 (29 Jun 2009 16:39:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2009 16:39:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 29 18:39:28 2009 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 1MLJt9-0008Ap-Hs for gctc-ntg-context-518@m.gmane.org; Mon, 29 Jun 2009 18:39:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0B2DE1FB6D; Mon, 29 Jun 2009 18:39:23 +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 29168-09; Mon, 29 Jun 2009 18:38:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A32B1FADF; Mon, 29 Jun 2009 18:38:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 59DF31FADF for ; Mon, 29 Jun 2009 18:38:36 +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 05920-04-2 for ; Mon, 29 Jun 2009 18:38:27 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id BB4BB1FAD7 for ; Mon, 29 Jun 2009 18:38:27 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5TGcQqC019791 for ; Mon, 29 Jun 2009 18:38:27 +0200 Original-Received: by fg-out-1718.google.com with SMTP id d23so963474fga.8 for ; Mon, 29 Jun 2009 09:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=KIC5AMeGq+rZUiWE3JveBisUrlN6ih5xYO5iU77wUeY=; b=nENXsAyNd8rz+HNV8N8a3v10I7Zat2a8WDEMr9kDBUhT2kZn0LmD7HwqTkv7F0R+Cz DYZXDJmHqvu/Cw9kqOqRpMlWsf83lp1mxyPrmceLBq6hAjM8KpGcMbAVwdFiaPecDT0T ov1fwRfZKRAxA8QAt2LByGNe7w+GrigUAzcvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=JZ/qtgud6t0Mm3eGmsVr5ZIQmbYB9txyg/AXNDOm+aJKTGWaPUj7/HAqeo/wnERu0O 2OfU08iFn/teYL/Afb0goAC0lihdFZJbGgfzp7KioxFQS2VLi9pRkcGP3YEk2lnwgfZ1 glFuGRPnhayce49VRl+M7FfrgUIuoZpTHoAik= Original-Received: by 10.86.90.8 with SMTP id n8mr794792fgb.59.1246293506563; Mon, 29 Jun 2009 09:38:26 -0700 (PDT) Original-Received: from ?192.168.2.23? (p5B29518A.dip.t-dialin.net [91.41.81.138]) by mx.google.com with ESMTPS id l12sm11178415fgb.24.2009.06.29.09.38.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 29 Jun 2009 09:38:26 -0700 (PDT) In-Reply-To: <300AF404-5779-4D67-A315-C087C267DF91@fiee.net> X-Mailer: Apple Mail (2.935.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.154; 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: 252177420 - f1fbe2081727 - 20090629 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:51538 Archived-At: Am 29.06.2009 um 17:31 schrieb Henning Hraban Ramm: > Am 2009-06-29 um 11:51 schrieb Wolfgang Schuster: >>> \setupletterstyle[reference][ >>> alternative=d, >>> list={name,street,city,,phone,skype,email,,date}, >>> ] >> >> Interesting way to insert empty lines, I never thought about this >> method >> and use myself the special key 'line' to insert a empty line. > > Woo, I found an accidental feature! ;-) I would consider this as a ConTeXt feature. > I don't think "line" is documented in your manual. You're right but it's so boring to write documentation. > Id wouldbe great if you'd also add the label stuff below! >>> The keys street, city and skype aren't defined in your module. >> There is *no* predefined keys (except line in the reference line) >> for \setupletter in my module. > > Ok, in the manual it looks like. You mean because I use always the same keys and all of them work? >> the following lines in your document (or add them to label.nle and >> send me the extended >> list): >> >> \setuplabeltext[de][letter:skype=Skype] >> \setuplabeltext[de][letter:street=Stra\ssharp e] >> \setuplabeltext[de][letter:city=Ort] % or Stadt ... >> ... > > Thank you! > I don't think it would make sense to add my personal preferences to > the module, just please document this. > > E.g. there are just too much IM services to provide them all; I > myself use "Address" as label for the street and add the city > without label, "Web" instead of "URL" as label for my homepage etc. I added the missing label from your example to my module, let me know what you think about the labels but 'Address' as label for 'street' is a no go. BTW: Most of the previous labels are taken from scrlttr2, when you want always your own texts you can make a file with the name 'user.nls' and change the label text to your own style. >>> \setupletter[ >>> Skype={fiee.visuelle} >>> ] >>> >>> to get just "Skype: fiee.visuelle"? >> >> TeX is case sensitive, write 'skype=fiee.visuelle". > > Ok; I wrote the capital intentionally for my suggestion of using the > key as label. Makes no sense because you need then different keys for each language, e.g. telefonnumer=... >>> More questions will follow... I'll try to get my logo at the right >>> place by myself before... >> >> The module provides a few layers you can use to position your >> graphic. > > I saw that in the manual and wanted to try it on my own first - but > thank you very much! The problem is the module use hard coded background layers and the only option to place logos etc. is to use them. > BTW I tried to come up with measures for Swiss business letters, but > only found some advise for secretaries how to write addresses: http://home.intergga.ch/beck/wg/awi/schreibregeln/4_Briefe.pdf > My typographical literature is only about Germany. > Most swiss business letters are sent in B5 envelopes with a window > on the right side - I could meter some "right looking" Swiss letters > if you'd like. Sounds good. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________