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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
%D \module
%D [ file=default,
%D version=2009.10.10,
%D title=\CONTEXT\ Letter Style,
%D subtitle=Blockstyle initalization,
%D author=Wolfgang Schuster,
%D date=\currentdate,
%D copyright=Wolfgang Schuster,
%D email=schuster.wolfgang@googlemail.com,
%D license=Public Domain]
\unprotect
\def\doresetletterlayer #1{\dododefinecorrespondencelayer[\v!letter][\????ls][#1]}
\def\doresetlettersection#1{\dodefinecorrespondencesection[\v!letter][\????ls][#1]}
\processcommacommand[\letter!list!layers ]\doresetletterlayer
\processcommacommand[\letter!list!sections]\doresetlettersection
\setupletterstyle
[\v!firstpage,\v!secondpage]
[\c!topspace=\dimexpr\paperheight/297*25\relax,
\c!top=\!!zeropoint,
\c!topdistance=\!!zeropoint,
\c!header=\dimexpr\paperheight/297*20\relax,
\c!headerdistance=\!!zeropoint,
\c!height=\dimexpr\paperheight/297*250\relax,
\c!footerdistance=\!!zeropoint,
\c!footer=\dimexpr\paperheight/297*20\relax,
\c!bottomdistance=\!!zeropoint,
\c!bottom=\!!zeropoint,
\c!backspace=\dimexpr\paperwidth/210*25\relax,
\c!width=\dimexpr\paperwidth/210*150\relax,
\c!bottomspace=\!!zeropoint]
\setupletter
[\c!alternative=\v!a,
\c!list=\v!date,
\c!date=\currentdate,
\c!width=\zeropoint]
\setupletterstyle
[\v!option]
[\c!method=\v!buffer,
\c!dispatch=\v!yes,
\c!addressee=\v!yes]
\setupletterstyle
[\v!head,\v!nexthead,\v!lefthead,\v!righthead]
[\c!hoffset=\backspace,
\c!voffset=\topspace,
\c!width=\textwidth]
\setupletterstyle
[\v!foot,\v!nextfoot,\v!leftfoot,\v!rightfoot]
[\c!preset=\v!left\v!bottom,
\c!hoffset=\backspace,
\c!voffset=\bottomspace,
\c!width=\textwidth]
\setupletterstyle
[\v!head]
[\c!rulewidth=\hsize,
\c!fromrule=\v!no,
\c!rulecolor=\v!black,
\c!alternative=\v!left]
\setupletterstyle
[\v!nexthead,\v!nextfoot]
[\c!state=\v!next]
\setupletterstyle
[\v!lefthead,\v!leftfoot]
[\c!state=\v!left]
\setupletterstyle
[\v!righthead,\v!rightfoot]
[\c!state=\v!right]
\setupletterstyle
[\v!reference]
[\v!option]
[\c!list=\lettervalue\c!list,
\c!alternative=\lettervalue\c!alternative,
\c!spaceafter=\plustwo\lineheight]
\setupletterstyle
[\v!backaddress]
[\v!option]
[\c!alternative=\v!auto,
\c!separator=\textcomma\space]
\setupletterstyle
[\v!address]
[\c!strut=\v!no]
\setupletterstyle
[\v!dispatch,\v!addressee]
[\c!align=\v!right,
\c!width=\hsize,
\c!leftmargin=\zeropoint,
\c!rightmargin=\zeropoint,
\c!offset=\zeropoint,
\c!frame=\v!off]
\setupletterstyle
[\v!dispatch]
[\c!location=\v!bottom,
\c!height=\dimexpr\vsize/33*9\relax]
\setupletterstyle
[\v!addressee]
[\c!location=\v!top,
\c!height=\dimexpr\vsize/33*24\relax]
\setupletterstyle
[\v!closing]
[\c!after={\blank[\v!line]},
\c!inbetween={\endgraf\blank[\v!nobreak,2*\v!line]}]
\protect \endinput
|