From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77461 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: usemodule[letter] Date: Fri, 20 Jul 2012 10:10:05 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1044402254-1342793408=:30099" X-Trace: dough.gmane.org 1342793422 29040 80.91.229.3 (20 Jul 2012 14:10:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2012 14:10:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 20 16:10:22 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 1SsDuL-0007RT-V6 for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jul 2012 16:10:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2FD2E10201; Fri, 20 Jul 2012 16:10:17 +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 syvoEuXdGjrL; Fri, 20 Jul 2012 16:10:15 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8916E101F4; Fri, 20 Jul 2012 16:10:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 43702101F4 for ; Fri, 20 Jul 2012 16:10:14 +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 olLkAoPlJgUl for ; Fri, 20 Jul 2012 16:10:12 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id C58D9101E9 for ; Fri, 20 Jul 2012 16:10:12 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6KEA8KO031669 for ; Fri, 20 Jul 2012 16:10:11 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096682554.dsl.bell.ca [65.94.12.58]) By tombraider.mr.itd.umich.edu ID 500966BF.8943A.3104 ; Authuser adityam; 20 Jul 2012 10:10:07 EDT In-Reply-To: User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NHACa9Ci - e7f37a6499c9 - 20120720 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:77461 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1044402254-1342793408=:30099 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 20 Jul 2012, Thomas Friedrich wrote: > 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. Yes, context-minimals-git is just a wrapper around first-setup.sh to make= =20 it easier to install and uninstall the context package. > 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=C3=9Fe 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=C3=BC=C3=9Fen,} > , signature=3D{Me} > ] Note that ConTeXt has a very strict way of specifying key-value options.=20 You need \setupletter [ .... key=3Dvalue, .... ] You cannot have any space around the "=3D" sign **or** the ",". For the las= t=20 option, you must either have a comma on the same line or the closing=20 bracket on the same line. So, use \setupletter [ .... 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. Perhaps because the list is set to "{phone,mobile,date}\n". > 1) What is the new way of setting up the reference line? > 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? Aditya --8323328-1044402254-1342793408=:30099 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 ___________________________________________________________________________________ --8323328-1044402254-1342793408=:30099--