1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
%D \module
%D [ file=blockstyle,
%D version=2008.05.28,
%D title=\CONTEXT\ Letter Style,
%D subtitle=Blockstyle initalization,
%D author=Wolfgang Schuster,
%D date=\currentdate,
%D copyright=Public Domain]
\unprotect
\useletterstyle[default]
\def\letter!order!sections
{\v!letter\v!head,\v!date\v!line,\v!reference\v!line,
\v!special\v!notation,\v!inside\v!address,\v!title,
\v!opening,\v!subject,\v!content,\v!closing,\v!appendices}
\setupletter
[\c!alternative=\v!none]
\setupletterstyle
[\v!option]
[\c!backaddress=\v!no,
\c!address=\v!no,
\c!reference=\v!no,
\c!marking=\v!no]
\startsetups[letter:head]
% sender information appear in a lettersection
\stopsetups
\startsetups[letter:\v!letter\v!head]
\let\\\crlf
\lettervalue\c!fromaddress
\stopsetups
\startsetups[letter:\v!date\v!line]
\lettervalue\c!date
\stopsetups
\startsetups[letter:\v!reference\v!line]
\lettervalue\c!reference
\stopsetups
\startsetups[letter:\v!special\v!notation]
\lettervalue\c!dispatch
\stopsetups
\startsetups[letter:\v!inside\v!address]
\let\\\crlf
\doiflettervalue\c!toname {\lettervalue\c!toname \crlf}
\doiflettervalue\c!toaddress{\lettervalue\c!toaddress\crlf}
\stopsetups
\protect \endinput
|