From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77459 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: usemodule[letter] Date: Fri, 20 Jul 2012 15:28:09 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342790898 7614 80.91.229.3 (20 Jul 2012 13:28:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2012 13:28:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 20 15:28:18 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 1SsDFh-000142-Hs for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jul 2012 15:28:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5453510203; Fri, 20 Jul 2012 15:28: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 2PdYMH-AZJnL; Fri, 20 Jul 2012 15:28:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6E38A101F4; Fri, 20 Jul 2012 15:28:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7FA7101F4 for ; Fri, 20 Jul 2012 15:28:13 +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 dZZDh7bna+MD for ; Fri, 20 Jul 2012 15:28:13 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 21C52101E9 for ; Fri, 20 Jul 2012 15:28:13 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6KDSBEw021443 for ; Fri, 20 Jul 2012 15:28:12 +0200 Original-Received: by bkcjc3 with SMTP id jc3so3776213bkc.14 for ; Fri, 20 Jul 2012 06:28:11 -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 :content-transfer-encoding:message-id:references:to:x-mailer; bh=+06OX77Xr07eWgTlxYe3eVibua0pH3PgwP6MbBgq9P4=; b=UG62mh7QAa1dGhmuLUW+jK/hXLdxMyhmn9G2eBgbMiD0bShi8Dw9rj6RBeaAR1/yz2 90Sac1+ydcMv1e57ZJ7RAXUOTpMf6retz1DAYb3xG83W9gB+RAeLc4IAbtcI71U91z+W RiWTbUDbUxi9tYKgzh9nhgjOf3fjpjTSXjCRdhtNQxbIsfOPEOgyHhCT3YQIAo1Mxrpz u+9lRQC3c1Pxo2NXcplQCYwmXs8ZueSr0qMeGzC0HIpF20bX606Ox4pvmkWjoDSMwBMl EekkNksGGCkhbwWsdGsNA3LnynaMUDJ/ziviGtWRJfFcakubqCJdjQ9Ru7U4U2VB2Qxa g/cw== Original-Received: by 10.204.152.136 with SMTP id g8mr2948481bkw.44.1342790890922; Fri, 20 Jul 2012 06:28:10 -0700 (PDT) Original-Received: from [192.168.2.36] (p54BAF503.dip.t-dialin.net. [84.186.245.3]) by mx.google.com with ESMTPS id fu8sm2847264bkc.5.2012.07.20.06.28.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Jul 2012 06:28:09 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (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: 0QHABsbFo - ba079d565511 - 20120720 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:77459 Archived-At: Am 20.07.2012 um 12:39 schrieb Thomas Friedrich: > Hello together, > = > my old set-up was an Ubuntu/tex-live installation, but I recently > (finally) did a reset-up, and I am now running ArchLinux together with > the context-minimals-git from AUR [1]. This should contain the latest > build. As I understand it, there has been an update to the > letter-module, but there is currently no updated documentation > available. Is this correct? > = > Please have a look at the following minimal example > = > ------ >8 ------ min-ex.tex > \enableregime[utf] > \mainlanguage[de] > = > \usemodule[letter] > = > \setupletter > [ toname=3D{Max Musterman} > , toaddress=3D{Musterstra=DFe 10} > , fromname=3D{Me} > , fromaddress=3D{Muster Weg 10} > , phone=3D{0123-45678} > , mobile=3D{0175-31689} > , date=3D\currentdate > , list=3D{phone,mobile,date} > , subject=3D{This is a minimal example with missing reference list} > , opening=3D{Sehr geehrter Mustermann,} > , closing=3D{Mit freundlichen Gr=FC=DFen,} > , signature=3D{Me} > ] > = > \startletter > \input knuth > \stopletter > ------ >8 ------ > = > $ texexec min-ex.tex > = > or > = > $ context min-ex.tex > = > will only display the current date on the very right, but no phone or > mobile number. > = > 1) What is the new way of setting up the reference line? \setupletterlayer[reference][list=3D{=85}] > 2) Please also note the "space" between the addresser and his/her > address in the addressee field. Is there a way to get rid of this > space? Put the comma to separate the entries at the end of the line and not at the= begin of the next because the end of the line results otherwise in a space. \enableregime[utf] \mainlanguage[de] \usemodule[letter] \setupletterlayer [reference] [list=3D{phone,mobile,date}] \setupletter [toname=3D{Max Musterman}, toaddress=3D{Musterstra=DFe 10}, fromname=3D{Me}, fromaddress=3D{Muster Weg 10}, phone=3D{0123-45678}, mobile=3D{0175-31689}, %date=3D\currentdate, subject=3D{This is a minimal example with reference list}, opening=3D{Sehr geehrter Mustermann,}, closing=3D{Mit freundlichen Gr=FC=DFen,}, signature=3D{Me}] \startletter \input knuth \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 ___________________________________________________________________________= ________