From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78400 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: TeXlive 2012 and letter module Date: Sat, 22 Sep 2012 16:57:11 +0200 Message-ID: <5696AAF1-2E6A-45AD-95BD-413E2EBD6527@gmail.com> References: <87ehnv4vst.fsf@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1348325849 6075 80.91.229.3 (22 Sep 2012 14:57:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 14:57:29 +0000 (UTC) Cc: Martin 'golodhrim' Scholz To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 22 16:57:30 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TFR96-0000Vs-6D for gctc-ntg-context-518@m.gmane.org; Sat, 22 Sep 2012 16:57:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1EC6910228; Sat, 22 Sep 2012 16:57:23 +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 dHOmoxQQQBOX; Sat, 22 Sep 2012 16:57:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A6049101E8; Sat, 22 Sep 2012 16:57:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D9F3101E8 for ; Sat, 22 Sep 2012 16:57:16 +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 B0FixpZN4477 for ; Sat, 22 Sep 2012 16:57:15 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 6B22A101E6 for ; Sat, 22 Sep 2012 16:57:15 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8MEslVj022730 for ; Sat, 22 Sep 2012 16:54:47 +0200 Original-Received: by bkcjc3 with SMTP id jc3so2424275bkc.14 for ; Sat, 22 Sep 2012 07:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=+jEWJJfH/oySrN4pfx/5sTXhDz5sHS/iy8BNVXoJNvc=; b=kEEHdg8R6Q8QbULn9LTFXvU8hg2cV7yXzPAPzFifWwBZq31L9yEuSYsQonTp/8RgLt Tl2OLHEHCtOBrl5lj11OXGsCSve5GxtBECkegkUFCKNP+SHRJimAzuu+JuMwzrB86eGY utYBj6M27CfhhQuFxA1PBAKu4tL3WGjZLBXXygV6wpMJo6kFu4YVv206+HKZihXIGq0B 8uAdoSIgmiC/geMo7iF8juE3uJTF1toqOR3Zigv/ePWQogKBGwsN7R3dav2Q+D8gpZLu HuvHmBkWCnj1Qr0xHp5DPXt5Rt8o532m+14OO9Mv55iUIp1QGHhqJ+8WtmBIpP0ODD9C qcEg== Original-Received: by 10.204.157.151 with SMTP id b23mr3239077bkx.96.1348325833959; Sat, 22 Sep 2012 07:57:13 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d072bdf.pool.mediaWays.net. [77.7.43.223]) by mx.google.com with ESMTPS id n17sm7727519bks.6.2012.09.22.07.57.12 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Sep 2012 07:57:13 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1498) X-Bayes-Prob: 0.5 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78400 Archived-At: Am 29.07.2012 um 13:10 schrieb Martin Scholz : > Thx Wolfgang, > = > this makes sense, as I still had your old examples online and build my le= tters after that I was just wondering if I did something wrong or missed so= mething in using it, but that way it is more flexible and with an > = > /input{addrfile} > = > in the below way one should also be able to still use a kind of the old w= ay having a separated addressfile but with a more flexible layout. > = > Again million thx for clearing it The new version of the module has now a built in system for address entries= , named =93addressentry=94. With the command \defineaddressentry you can create a new entry and with th= e command \addressentry you can access them. Instead of specifying each ent= ry by name you can also set a default name with the addressentry key for \s= tartletter/\setupletter which is now used when omit the first argument of \= addressentry. \usemodule[letter] \setupletteroptions [ bodyfont=3Dcalluna, whitespace=3Dline] \defineaddressentry [frodo] [lastname=3D{Beutlin}, firstname=3D{Frodo}, address=3D{Der B=FChl\\Beutelsend/Hobbingen im Auenland}, 1=3D{Bilbo Beutlin}, 2=3D{Rauchen von Pfeifenkraut}, 3=3D{der Ringtr=E4ger}, 4=3D{Bilbos Erbe}] \defineaddressentry [sam] [lastname=3D{Gamdschie}, firstname=3D{Samweis}, address=3D{Beutelhaldenweg 3\\Hobbingen im Auenland}, 1=3D{Rosie Kattun}, 2=3D{Knullen}, 3=3D{des Ringtr=E4gers treuester Gef=E4hrte}] \defineaddressentry [tom] [lastname=3D{Bombadil}, firstname=3D{Tom}, address=3D{Im Alten Wald}, 1=3D{Goldbeere}, 2=3D{tr=E4llern von Nonsensliedern}, 3=3D{Meister von Wald, Wasser und Berg}] \setupaddressentry [name=3D{\addressentry[firstname]~\addressentry[lastname]}] \startletter [addressentry=3Dtom, toname=3D{\addressentry[name]}, toaddress=3D{\addressentry[address]}, opening=3D{Lieber \addressentry[name],}, closing=3D{=84O Fr=FChling und Sommerzeit und danach wieder Fr=FChling!\\= O Wind auf dem Wasserfall und Lachen des Laubes!=93}] oder \addressentry[tom][3], wie Dich Deine geliebte \addressentry[tom][1] n= ennt. Kannst Du Dich noch an einen Herrn \addressentry[frodo][lastname], ge= nauer gesagt \addressentry[frodo][firstname]~\addressentry[frodo][lastname]= , denn es gab ja auch noch den Herrn \addressentry[frodo][1], erinnern. Er = war \addressentry[frodo][3] im dritten Zeitalter und \addressentry[frodo][3= ]. Begleitet wurde er von \addressentry[sam][firstname]~\addressentry[sam][= lastname], \addressentry[sam][3]. Beider Vorlieben waren sehr weltlich. Der \addressentry[frodo][firstname] g= enoss das \addressentry[frodo][2], sein Gef=E4hrte sch=E4tzte eine gute Mah= lzeit mit \addressentry[sam][2]. Wei=DFt du noch? Mithrandir hat Dir bestimmt viel von ihnen erz=E4hlt. \stopletter 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________