From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73985 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problem with letter module Date: Thu, 19 Jan 2012 00:21:29 +0100 Message-ID: References: <201201182114.15080.romain.diss@yahoo.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326928905 514 80.91.229.12 (18 Jan 2012 23:21:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Jan 2012 23:21:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 19 00:21:41 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rnep3-00089j-4x for gctc-ntg-context-518@m.gmane.org; Thu, 19 Jan 2012 00:21:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA941CB1FE; Thu, 19 Jan 2012 00:21:39 +0100 (CET) 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 bjo8cS-0SDgg; Thu, 19 Jan 2012 00:21:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8AF0CB1F8; Thu, 19 Jan 2012 00:21:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DD2C5CB1F8 for ; Thu, 19 Jan 2012 00:21:35 +0100 (CET) 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 IBfWq36YAgXr for ; Thu, 19 Jan 2012 00:21:34 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 10258CB1E2 for ; Thu, 19 Jan 2012 00:21:34 +0100 (CET) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0INLWOQ015342 for ; Thu, 19 Jan 2012 00:21:33 +0100 Original-Received: by eaan1 with SMTP id n1so2172162eaa.14 for ; Wed, 18 Jan 2012 15:21:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=drypYSh+va3uqSw8c9DeY84C9rAN37jrgWdoALDNZ24=; b=Gs9GeF/Zy+ij4rxcMotl3gcYYaAIYuQJqezCaQXu957dG/6qSjp06HdEZZFi5vTNQG fBHlqyKmaRtHGMv+L/nhdUwv3g8yY0keoGNSO/YihVYc3l3lg2IqT3bQMtoQI+Cnk1za uVDIjjLGBrTgzm6MM/QQGue0m5IL2Ym8IrhsQ= Original-Received: by 10.213.25.69 with SMTP id y5mr4797456ebb.1.1326928892505; Wed, 18 Jan 2012 15:21:32 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFA518.dip.t-dialin.net. [87.175.165.24]) by mx.google.com with ESMTPS id x43sm105680857eef.8.2012.01.18.15.21.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jan 2012 15:21:31 -0800 (PST) In-Reply-To: <201201182114.15080.romain.diss@yahoo.fr> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; 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: 0dGnblwBL - aa3529546b4d - 20120119 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:73985 Archived-At: Am 18.01.2012 um 21:14 schrieb Romain Diss: > Hi, > = > I am writing a letter with the 'letter' module (mkiv and last beta) and t= he = > \encl{} command doesn't work anymore. I know that the module has been rew= riten = > recently but I can't find any doc or examples of the new syntax. I tried = to = > look at the source code but it doesn't help. > = > So is there any command which replace \encl{}? And is there any documenta= tion = > (even succint) of the new module? With the new version of the module I tried to get rid of a few things which= lead to problems or which didn=92t fit into context normal syntax. The \encl, \c= c and \ps had been such a thing and all three value can now only bet set as keyval ar= gument, e.g. \startletter[enclosure=3D=85] There isn=92t a new documentation yet but I=92ll give a short overview. There is now only one way to set values for the letter variables in this is= \setupletter with it=92s keyval syntax, e.g. \setupletter[name=3D=85,address=3D=85]. The= \setlettervalue command from the previous version is gone and won=92t come back. The letter environment has now only optional argument which acts like a loc= al version of \setupletter where the values are only used in the environment. When you use your document only for a single letter without anything else you can even drop \starttext and \stoptext because this is handled by \star= tletter and \stopletter. To change the labels in the reference line for the =93Date=94 string you ha= ve to use the \setuplettertext command, a special version of \setuplabeltext o= nly for the letter module. Styles are still loaded with \useletterstyle but when you want to put your = own settings in a style file you have to name the file =93letter-