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
57
58
59
60
61
62
63
64
65
|
%D \module
%D [ file=modified,
%D version=2008.11.29,
%D title=\CONTEXT\ Letter Style,
%D subtitle=Block/Modified block style,
%D author=Wolfgang Schuster,
%D date=\currentdate,
%D copyright=Wolfgang Schuster,
%D email=schuster.wolfgang@googlemail.com,
%D license=Public Domain]
\unprotect
\useletterstyle[blockstyle]
\setupletterstyle
[\v!letter\v!head,\v!reference\v!line,\v!special\v!notation,
\v!inside\v!address,\v!title,\v!opening,\v!content]
[\c!after={\blank[\v!line]}]
\setupletterstyle
[\v!letter\v!head,\v!reference\v!line,
\v!date\v!line,\v!special\v!notation,\v!closing]
[\c!leftmargin=.5\textwidth]
\setupletterstyle
[\v!closing]
[\c!after={\blank[2*\v!line]}]
\setupletterstyle
[\v!firstpage,\v!secondpage]
[\c!backspace=1in,
\c!width=\v!middle,
\c!topspace=1in,
\c!header=0in,
\c!footer=0in,
\c!height=\v!fit]
\setupletterstyle
[\v!secondpage]
[\c!header=1in]
\setuplabeltext[\s!en][\c!page=Page~]
\startsetups[\v!letter:\v!header:\v!modified]
\framed
[\c!frame=\v!off,
\c!align=v!right]
{\lettervalue\c!toname \\
\lettervalue\c!date \\
\lettervalue\c!reference \\
\labeltext\c!page\pagenumber}
\stopsetups
\setupletterstyle
[\v!header]
[\c!lefttext=\setups{\v!letter:\v!header:\v!modified}]
\setupletterstyle
[\v!option]
[\c!whitespace=\v!line]
\protect \endinput
|