From romain.diss@yahoo.fr Wed Jan 18 21:14:29 2012 From: Romain Diss To: ntg-context@ntg.nl Subject: [NTG-context] Problem with letter module Date: Wed, 18 Jan 2012 21:14:14 +0100 Message-ID: <201201182114.15080.romain.diss@yahoo.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1504654002275888850==" --===============1504654002275888850== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I am writing a letter with the 'letter' module (mkiv and last beta) and the=20 \encl{} command doesn't work anymore. I know that the module has been rewrite= n=20 recently but I can't find any doc or examples of the new syntax. I tried to=20 look at the source code but it doesn't help. So is there any command which replace \encl{}? And is there any documentation= =20 (even succint) of the new module? Thanks. --=20 Romain Diss --===============1504654002275888850==-- From schuster.wolfgang@googlemail.com Thu Jan 19 00:21:35 2012 From: Wolfgang Schuster To: ntg-context@ntg.nl Subject: Re: [NTG-context] Problem with letter module Date: Thu, 19 Jan 2012 00:21:29 +0100 Message-ID: In-Reply-To: <201201182114.15080.romain.diss@yahoo.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0923741785481747149==" --===============0923741785481747149== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am 18.01.2012 um 21:14 schrieb Romain Diss: > Hi, >=20 > I am writing a letter with the 'letter' module (mkiv and last beta) and the= =20 > \encl{} command doesn't work anymore. I know that the module has been rewri= ten=20 > recently but I can't find any doc or examples of the new syntax. I tried to= =20 > look at the source code but it doesn't help. >=20 > So is there any command which replace \encl{}? And is there any documentati= on=20 > (even succint) of the new module? With the new version of the module I tried to get rid of a few things which l= ead to problems or which didn=E2=80=99t fit into context normal syntax. The \encl= , \cc and \ps had been such a thing and all three value can now only bet set as keyval argu= ment, e.g. \startletter[enclosure=3D=E2=80=A6] There isn=E2=80=99t a new documentation yet but I=E2=80=99ll give a short ove= rview. There is now only one way to set values for the letter variables in this is \= setupletter with it=E2=80=99s keyval syntax, e.g. \setupletter[name=3D=E2=80=A6,address= =3D=E2=80=A6]. The \setlettervalue command from the previous version is gone and won=E2=80=99t come back. The letter environment has now only optional argument which acts like a local 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 \startl= etter and \stopletter. To change the labels in the reference line for the =E2=80=9CDate=E2=80=9D str= ing you have to use the \setuplettertext command, a special version of \setuplabeltext only 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 =E2=80=9Cletter-