[NTG-context] Where is the documentation of the letter module

Florian Wobbe Florian.Wobbe at awi.de
Wed May 30 01:30:43 CEST 2012


>> is there anyone else who knows where the current correspondence docu resides? I tried again to locate it but to no avail.
> 
> There is some guidance about what's new in these messages:
> 
> http://www.ntg.nl/pipermail/ntg-context/2012/064695.html
> 
> http://www.ntg.nl/pipermail/ntg-context/2012/065039.html

Michael, thanks a lot. These were in fact the missing links! With the help of the comments in the thread above and looking into the sources I was able to reproduce most of my old letter template. However, I'm struggling to get the enclosures into an itemized list. This used to work with the old letter module but now fails:

  \startletter[enclosure={A\\B\\C}, ...] --> encl: AcrlfBcrlfC

In http://www.ntg.nl/pipermail/ntg-context/2012/064721.html Wolfgang proposed \startletter[enclosure={list:one,two,three}, ...] to get an itemized list. But this does not seem to be implemented yet. How would I get this right?


Wolfgang, I believe I found a bug that introduces some extra space in the backaddress: "fromname, <extra space>, fromaddress". Here is the fix:

--- a/texmf-modules/tex/context/third/letter/base/s-cor-01.mkvi
+++ b/texmf-modules/tex/context/third/letter/base/s-cor-01.mkvi
@@ -297,7 +297,7 @@
 \defineletterelement[\v!layer][\v!backaddress][\s!default]
   {\def\\{\correspondencelayerparameter\c!separator}%
    \correspondenceparameter\c!fromname
-   \doifsomething{\correspondenceparameter\c!fromaddress}\\
+   \doifsomething{\correspondenceparameter\c!fromaddress}\\%
    \correspondenceparameter\c!fromaddress}
 
 \defineletterelement[\v!layer][\v!backaddress][\v!auto]

Cheers,
Florian


More information about the ntg-context mailing list