docs/master

view style @ 44:18e56d609fbf

style: Replaced an ugly hack with a less ugly hack. ;-)
author markus schnalke <meillo@marmaro.de>
date Wed, 16 May 2012 20:42:30 +0200
parents 443dda7ccb4a
children c9fc47c89d54
line source
1 .do xflag 3
2 .de __
3 ..
4 .blm __ \" ignore empty lines in input
5 .lc_ctype en_US.utf8
6 .mediasize a4
8 .fp 1 R LinLibertine_R otf
9 .feature R +onum
10 .fp 2 I LinLibertine_RI otf
11 .feature I +onum
12 .fp 3 B LinLibertine_RB otf
13 .feature B +onum
14 .fp 4 BI LinLibertine_RBI otf
15 .feature BI +onum
16 .fp 5 CW TerminusMedium-4.36 ttf
17 .fp 0 CI TerminusMediumItalic-4.36 ttf
18 .fp 0 CB TerminusBold-4.36 ttf
19 .fp 0 L TerminusMedium-4.36 ttf
20 .fp 0 SC LinLibertine_R otf
21 .feature SC +onum +smcp
22 .fp 0 IC LinLibertine_RI otf
23 .feature IC +onum +smcp
24 .fp 0 BC LinLibertine_RB otf
25 .feature BC +onum +smcp
27 .ig
28 . nr PS 10
29 . nr VS 12
30 ..
32 .nr PI 3n
33 .nr PD .3v
34 .nr lu 0
35 .af PN i
37 .ds _E '\\\\n(PN''\f(SCMarkus Schnalke: The Modern Mail Handler\fP' \" left
38 .ds _O '\f(SCChapter \\\\n(H1\ \ \\\\*(_C\fP''\\\\n(PN' \" right
39 .ds _o '\f(SC\\\\*(_C\fP''\\\\n(PN' \" right
40 .ds CH "
42 .nr HM 3.3c
43 .nr FM 6.6c
44 .nr LL 14c
45 .ll 14c
46 .nr LT \n(LL
47 .nr PO 2.3c
49 .de _M \" change margins for text block on next page
50 .if e .nr PO -2.3c
51 .if o .nr PO +2.3c
52 .ds CF "
53 ..
54 .wh -1u _M
56 .de CW
57 .nr PQ \\n(.f
58 .if t \{\
59 . ft CW
60 . if !^\\$1^^ \&\\$1\f\\n(PQ\\$2
61 .\}
62 .if n \{\
63 . ie ^\\$1^^ .ul 999
64 . el .ul 1
65 . if \\n(.$=1 \&\\$1
66 . if \\n(.$>1 \&\\$1\c
67 . if \\n(.$>1 \&\\$2
68 .\}
69 ..
71 .ds [. " [
72 .ds .] ]
73 .rm ]<
74 .de ]<
75 . LP
76 . de FP
77 . IP \\\\$1.
78 \\..
79 . rm FS FE
80 ..
82 .am PT
83 . rs
84 ..
86 .rm NH
87 .de NH
88 .SH
89 .nr NS \\$1
90 .if !\\n(.$ .nr NS 1
91 .if !\\n(NS .nr NS 1
92 .nr H\\n(NS +1
93 .if \\n(NS<2 .nr H2 0
94 .if \\n(NS<3 .nr H3 0
95 .ds SN \\n(H1
96 .if \\n(NS>1 .as SN \&.\\n(H2
97 .if \\n(NS>2 .as SN \&.\\n(H3
98 ..
100 .de H-
101 .EH "
102 .OH "
103 .bp
104 .rs
105 .if e .bp
106 .lg 0
107 .nr PS +6
108 .nr VS +6
109 .SH
110 .ce 1
111 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
112 \&\\$1
113 .br
114 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
115 .nr PS -6
116 .nr VS -6
117 .lg
118 .RT
119 .if !,\\$2,no, \{
120 . EH "\\\\*(_E
121 . ie \\n(H1 .OH "\\\\*(_O
122 . el .OH "\\\\*(_o
123 . ds CF \\n(PN
124 .\}
125 .sp 4
126 .nr PP 0
127 ..
129 .de H0
130 .EH "
131 .OH "
132 .bp
133 .rs
134 .if e .bp
135 . lg 0
136 . nr PS +6
137 . nr VS +6
138 .ie \\n(.$=1 \{\
139 . NH 1
140 . ce 1
141 Chapter \\*(SN
142 . sp .5
143 .\}
144 .el .if ,\\$2,no, .SH
145 . ce 1
146 . tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
147 \&\\$1
148 . br
149 . tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
150 . nr PS -6
151 . nr VS -6
152 . lg
153 .ds _C "\\$1
154 . RT
155 . XS
156 . sp .5v
157 . B
158 .ie \\n(.$=1 \{\
159 Chapter \\*(SN \\$1
160 .\}
161 .el .if ,\\$2,no, \&\\$1
162 . XE
163 .EH "\\\\*(_E
164 .ie \\n(H1 .OH "\\\\*(_O
165 .el .OH "\\\\*(_o
166 .ds CF \\n(PN
167 .sp 4
168 .nr PP 0
169 ..
172 .\" Reset page Numbers, set page number format ($1) and move to a right page.
173 .de RN
174 .ie e .pn 1
175 .el \{
176 . pn 0
177 . bp
178 .\}
179 .ie \\n(.$=1 .af PN \\$1
180 .el .af PN 1
181 ..
184 .de H1
185 .br
186 .ne 7
187 .sp
188 . nr PS +2
189 . nr VS +2
190 .if '\\$2'no' .SH
191 .if \\n(.$=1 .NH 2
192 . lg 0
193 . tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
194 .if !'\\$2'no' \&\\*(SN
195 \\$1
196 . br
197 . tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
198 . nr PS -2
199 . nr VS -2
200 . lg
201 . RT
202 .if !'\\$2'no' \{\
203 .ds _S "\\$1
204 . XS
205 \\*(SN \\$1
206 . XE
207 .\}
208 .nr PP 0
209 ..
211 .de H2
212 .br
213 .ne 4
214 .if \\n(.$=1 .NH 3
215 \&\\*(SN
216 \\$1
217 .RT
218 .ds _S "\\$1
219 .XS
220 \\*(SN \\$1
221 .XE
222 .nr PP 0
223 ..
225 .de U2
226 .br
227 .ne 4
228 .SH
229 .if \\n(.$=1 .NH 3
230 \\$1
231 .RT
232 .nr PP 0
233 ..
235 .de P
236 .ie \\n(PP .PP
237 .el .LP
238 .nr PP 1
239 ..
241 .am IP
242 .nr PP 0
243 ..
245 .de BU
246 .IP \(bu
247 ..
249 .am QP
250 .ps -1
251 ..
253 .am DS
254 .ft CW
255 .ps -1
256 .ta T 8n
257 .nr PP 0
258 ..
260 .am FA
261 .ps 8
262 .vs 9
263 ..
265 .de Fn \" file name
266 .CW "\\$1" "\\$2
267 ..
268 .de Pn \" program name
269 .CW "\\$1" "\\$2
270 ..
271 .de Fu \" function
272 .CW "\\$1" "\\$2
273 ..
274 .de Ev \" env variable
275 .CW "\\$1" "\\$2
276 ..
277 .de Cl \" command line
278 `\c
279 .CW "\\$1" "'\\$2
280 ..
281 .de Sw \" switch
282 .CW "\\$1" "\\$2
283 ..
284 .de Mp \" man page
285 .I "\\$1" "\\$2
286 ..
287 .de Pe \" profile entry
288 .CW "\\$1" "\\$2
289 ..