At 12:00 AM 11/21/2002 +0000, Nigel King wrote: concerning modules, why not make it an environment?
2. I cannot find a way of defining elements which are effectively in the running text like \openingline=Dear ..., in the setupletter because \getvalue{letter@opening} seems not to pick up the value. A similar problem occurs with closing which has a number of formatting constraints which deosn't want to be seen in the letter source. The only way I have been able to achieve the objective has been to use the following type of construct. In the source letter \signature[Nigel King] In the module \def\signature[#1]{\def\fromsig{#1}} \def\closing[#1]{\par\framed[width=\textwidth,frame=off]{\rbox{ \blank[2*big] #1 \blank[6*big] \fromsig\par}}}
Any help would be much appreciated.
The best way to deal with variables is the following: \setvariables [letter:opening] [name=..., date=...] \setvariables [letter:closing] [name=..., whatver=...] .... \getvariable{letter:opening}{name} This way there is no need for the get parameter stuff and you can group your variables; this mechanism also bypasses the multi lingual inferface, since this is what is troubling you: getparameter remaps tags to the low level names. You get better error messages for free. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------