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={Max Musterman} , toaddress={Musterstraße 10} , fromname={Me} , fromaddress={Muster Weg 10} , phone={0123-45678} , mobile={0175-31689} , date=\currentdate , list={phone,mobile,date} , subject={This is a minimal example with missing reference list} , opening={Sehr geehrter Mustermann,} , closing={Mit freundlichen Grüßen,} , signature={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={…}]
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={phone,mobile,date}] \setupletter [toname={Max Musterman}, toaddress={Musterstraße 10}, fromname={Me}, fromaddress={Muster Weg 10}, phone={0123-45678}, mobile={0175-31689}, %date=\currentdate, subject={This is a minimal example with reference list}, opening={Sehr geehrter Mustermann,}, closing={Mit freundlichen Grüßen,}, signature={Me}] \startletter \input knuth \stopletter Wolfgang