From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51536 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 11:51:35 +0200 Message-ID: References: <247A75D9-1059-45B9-8BA8-B3E59481A994@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 1246269167 21700 80.91.229.12 (29 Jun 2009 09:52:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2009 09:52:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 29 11:52:40 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 1MLDXQ-0002og-E0 for gctc-ntg-context-518@m.gmane.org; Mon, 29 Jun 2009 11:52:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 961921FB6D; Mon, 29 Jun 2009 11:52:35 +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 14819-08; Mon, 29 Jun 2009 11:51:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 24A291FADF; Mon, 29 Jun 2009 11:51:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01C361FADF for ; Mon, 29 Jun 2009 11:51:48 +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 14456-04 for ; Mon, 29 Jun 2009 11:51:38 +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 BD5601FADC for ; Mon, 29 Jun 2009 11:51:38 +0200 (CEST) Original-Received: from mail-bw0-f217.google.com (mail-bw0-f217.google.com [209.85.218.217]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5T9pbKN001998 for ; Mon, 29 Jun 2009 11:51:38 +0200 Original-Received: by bwz17 with SMTP id 17so640422bwz.2 for ; Mon, 29 Jun 2009 02:51:37 -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=gA9K/pUYvOcj127xtdZKnzVmslyIUV93voSU3WsNcKc=; b=WIU8/h2kbeTBt5lA/G1naUyY50ZERfzLa+Oh5/eIzyOYH/JOKARlKKbs6ZDwNQAdpf fUQQAPYWO+Cp0n3/L0K1bJAp0nGel6fAoT433qP89vgGTQ22YYfbTyjao8F7oHVKJyfZ vOR+TfFk6mkEPGGDfQmBiC7kq3QSOy0f3nB60= 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=D0Cvq+CGokJBdC0yqtkawrGxMbwo/IHwrx2R/k5MKFLy/ubMyRYJef81rc5GWwX+Ow 60DWAHyx6l7aRXAlVb/uYT423szgyRRtTr8+RbH0x1VmnbXXB+pk2LE/4PkVfrRJeZuG vlOOIqk9GoJ7q72XR6vdfanYWk4pPNqMVEDVA= Original-Received: by 10.204.54.16 with SMTP id o16mr6941762bkg.146.1246269097344; Mon, 29 Jun 2009 02:51:37 -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 12sm10810133fks.21.2009.06.29.02.51.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 29 Jun 2009 02:51:36 -0700 (PDT) In-Reply-To: <247A75D9-1059-45B9-8BA8-B3E59481A994@fiee.net> X-Mailer: Apple Mail (2.935.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.217; 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: 251885298 - 5213bcd07a9d - 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:51536 Archived-At: Am 28.06.2009 um 23:12 schrieb Henning Hraban Ramm: > Hallo Wolfgang! ;-) > > Since my old letter and CV environment doesn't work anymore in MkIV, > I'm trying to reproduce it with t-letter. > > At the moment I struggle with the reference keys: > > \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. > \setupletter[name,street,phone,date,skype,email][ > separator={: }, > titlestyle={\ss\tfxx}, > ] > > 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. > I found where the other keys are defined (and I guess I could mine > in or use a similar approach in my environment), but I'm clueless, > where the translation comes from - I grepped eg. after "Telefon" > without results, and I think I looked into every file of your module. > > I guess it would be interesting how to define your own keys, maybe > some IM adresses etc., also for other users. > Would it be possible to use unknown keys just unchanged? I.e. if I say I don't define keys in my module, I set only labels for the text in the left column which can be find in the file 'label.nle', to get a text for skype, street etc. put 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 ... ... > \setupletter[ > Skype={fiee.visuelle} > ] > > to get just "Skype: fiee.visuelle"? TeX is case sensitive, write 'skype=fiee.visuelle". > 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. \setupletterstyle [lettermain] [hoffset=..cm, voffset=..cm, symbol={\externalfigure[...]}, state=repeat] % repeat=place on each page, start=only on first page, ... 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 ___________________________________________________________________________________