docs/bib-ref1

view style @ 46:3ec3cd7649bc

s/oe/ö/g
author markus schnalke <meillo@marmaro.de>
date Sun, 24 Nov 2013 23:39:37 +0100
parents eef1ad137d7a
children 4845f9d64263
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 .ds _f libertine
10 .if '\*(_f'bookman' \{\
11 .fp 1 R urw/bookman/ubkl8a pfb
12 .fp 2 I urw/bookman/ubkli8a pfb
13 .fp 3 B urw/bookman/ubkd8a pfb
14 .fp 4 BI urw/bookman/ubkdi8a pfb
15 .\}
16 .if '\*(_f'sabon' \{\
17 .fp 1 R sabon-t1/psbr8a pfb
18 .fp 2 I sabon-t1/psbri8 pfb
19 .fp 3 B sabon-t1/psbb8 pfb
20 .fp 4 BI sabon-t1/psbbi8 pfb
21 .\}
22 .if '\*(_f'palatino' \{\
23 .fp 1 R urw/palatino/uplr8a pfb
24 .fp 2 I urw/palatino/uplri8 pfb
25 .fp 3 B urw/palatino/uplb8 pfb
26 .fp 4 BI urw/palatino/uplbi8 pfb
27 .\}
28 .if '\*(_f'libertine' \{\
29 .fp 1 R LinLibertine_R otf
30 .feature R +onum
31 .fp 2 I LinLibertine_RI otf
32 .feature I +onum
33 .fp 3 B LinLibertine_RB otf
34 .feature B +onum
35 .fp 4 BI LinLibertine_RBI otf
36 .feature BI +onum
37 .\}
40 .ss 12 0 \" the second (non-portable) argument requests french spacing
42 .nr PI 4n
43 .nr PD .3v
44 .nr QI 2u*\n(PIu
45 .nr lu 0
46 .af PN i
47 .af % i
49 .nr PS 11
50 .nr VS 16
52 .ds CH "
54 .nr PO 2.5c
55 .nr HM 3.5c
56 .nr FM 3.5c
57 .nr LL 15c
58 .ll 15c
59 .nr LT \n(LL
61 . \" _M - change margins for text block on next page
62 .de _M
63 .\" if t .if o .nr PO 5c
64 .\" if t .if e .nr PO 3c
65 .\" nr PO 2.5c
66 .\" ds CF "
67 ..
68 .\" .wh -1u _M
70 .de _H
71 'sp |\n(HMu-1.5c
72 .ps 12
73 .vs 14
74 .ft I
75 .tl 'Markus Schnalke: Die Anfaenge der digitalen Revolution''%'
76 .ft P
77 .ps
78 .vs
79 ..
80 .wh 1u _H
82 . \" ZZ - enlarge or shorten the text block on the current
83 . \" page to avoid widows
84 . \" .ZZ -> enlarge by one line
85 . \" .ZZ +3 -> enlarge by three lines
86 . \" .ZZ -2 -> shorten by two lines
87 . \" .ZZ +1c -> enlarge by one centimeter
88 . \" .ZZ "" -> reset to the default
89 .de ZZ
90 .ie \\n(.$=0 .ch FO -\\n(FMu+1v
91 .el .ch FO -\\n(FMu\\$1
92 ..
94 . \" CW - Set text in CW font (similar to .B and .I)
95 .de CW
96 .nr PQ \\n(.f
97 .if t \{\
98 . ft CW
99 . if !^\\$1^^ \&\\$1\f\\n(PQ\\$2
100 .\}
101 .if n \{\
102 . ie ^\\$1^^ .ul 999
103 . el .ul 1
104 . if \\n(.$=1 \&\\$1
105 . if \\n(.$>1 \&\\$1\c
106 . if \\n(.$>1 \&\\$2
107 .\}
108 ..
110 . \" refer(1) stuff
111 .ds [. " [
112 .ds .] ]
113 .rm ]<
114 .de ]<
115 . de FP
116 . IP \\\\$1
117 \\..
118 . rm FS FE
119 ..
121 . \" PT - page top macro of ms
122 .am PT
123 . rs
124 ..
127 . \" RN - Reset PN and continue on an odd page ($1=number-format)
128 .de RN
129 .ie e .pn 1
130 .el \{
131 . pn 0
132 . bp
133 .\}
134 .ie \\n(.$=1 \{\
135 . af PN \\$1
136 . af % \\$1
137 .\}
138 .el \{\
139 . af PN 1
140 . af % 1
141 .\}
142 ..
145 . \" T_ - Add TOC entry ($1=pre-space $2=indent-level $3=text)
146 .de T_
147 .tm TOC____.sp \\$1
148 .tm TOC____\&\\h'\\$2u*2u*\\n(PIu'\\$3\0\0\a\t\\n(PN\fR
149 ..
151 . \" NH - redefine numbered heading
152 .de NH
153 .SH
154 .nr NS \\$1
155 .if !\\n(.$ .nr NS 1
156 .if !\\n(NS .nr NS 1
157 .nr H\\n(NS +1
158 .if \\n(NS<2 .nr H2 0
159 .if \\n(NS<3 .nr H3 0
160 .ds SN \\n(H1
161 .if \\n(NS>1 .as SN \&.\\n(H2
162 .if \\n(NS>2 .as SN \&.\\n(H3
163 ..
165 . \" H- - Chapter not numbered and not in TOC ($2==yes -> TOC)
166 .de H-
167 .ig IG
168 .EH "
169 .OH "
170 .IG
171 .bp
172 .\" .if e .rs \" move to an odd page
173 .\" .if e .bp
174 .lg 0
175 .nr PS +6
176 .nr VS +6
177 .SH
178 .ce 1
179 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ
180 \&\\$1
181 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü
182 .br
183 .nr PS -6
184 .nr VS -6
185 .lg
186 .ig IG
187 .EH "\\\\*(_E
188 .OH "\\\\*(_o
189 .IG
190 .\" .ds CF \\n(PN
191 .if '\\$2'yes' \{
192 .rm t_
193 .T_ .5v 0 "\fB\\*(t_\\$1
194 .\}
195 .RT
196 .sp 2
197 .nr PP 0
198 ..
200 . \" AP - Start the Appendix
201 .de AP
202 .nr _A 1
203 .nr H1 0
204 .af H1 A
205 ..
207 . \" H0 - Chapter ($2=="no" -> not numbered)
208 .de H0
209 .\" bp
210 .\" .if e .rs \" begin chapter on an odd page
211 .\" .if e .bp
212 .br
213 .lg 0
214 .nr PS +4
215 .nr VS +4
216 .ie ,\\$2,no, \{\
217 . SH
218 . ce 99
219 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
220 \&\\$1
221 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
222 .\}
223 .el \{\
224 . NH 1
225 . ce 99
226 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
227 . ie \\n(_A Appendix \\*(SN. \\$1
228 . el \\*(SN. \\$1
229 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
230 .\}
231 .br
232 .ce 0
233 .nr PS -4
234 .nr VS -4
235 .lg
236 .\" add to TOC
237 .rm t_
238 .if !,\\$2,no, .ds t_ \\Z'\\*(SN'\\h'3n'
239 .T_ .5v 0 "\fB\\*(t_\\$1
240 .RT
241 .sp .5
242 .ns
243 .nr PP 0
244 ..
247 . \" H1 - Section ($2=="no" -> not numbered)
248 .de H1
249 .br
250 .ne 7
251 .sp
252 .lg 0
253 .nr PS +2
254 .nr VS +2
255 .ie '\\$2'no' .SH
256 .el .NH 2
257 .if !'\\$2'no' \&\\*(SN
258 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
259 \&\\$1
260 .br
261 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
262 .nr PS -2
263 .nr VS -2
264 .lg
265 .if !'\\$2'no' .T_ .3v 1 "\\Z'\\*(SN'\\h'4n'\\$1 \" add to TOC
266 .RT
267 .nr PP 0
268 ..
270 . \" H2 - Subsection
271 .de H2
272 .br
273 .ne 4
274 .NH 3
275 \&\\*(SN \\$1
276 .T_ 0 2 "\\Z'\\*(SN'\\h'5.5n'\\$1 \" add to TOC
277 .RT
278 .nr PP 0
279 ..
281 . \" U1 - Section ($2=="yes" -> add to TOC)
282 .de U1
283 .sp .5
284 .ne 7
285 .lg 0
286 .nr PS +2
287 .nr VS +2
288 .ns
289 .SH
290 \&\\$1
291 .br
292 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
293 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
294 .nr PS -2
295 .nr VS -2
296 .lg
297 .T_ .3v 1 "\\$1 \" add to TOC
298 .RT
299 .nr PP 0
300 ..
303 . \" U2 - Subsection unnumbered ($2=="yes" -> add to TOC)
304 .de U2
305 .sp .5
306 .ne 4
307 .ns
308 .SH
309 \&\\$1
310 .if '\\$2'yes' .T_ 0 2 "\\Z'\\*(SN'\\h'5.5n'\\$1 \" add to TOC
311 .RT
312 .nr PP 0
313 ..
315 . \" U3 - Subsubsection unnumbered
316 .de U3
317 .br
318 .ne 4
319 .RT
320 .sp
321 .I "\\$1
322 .RT
323 .nr PP 0
324 ..
326 . \" P - Paragraph (indented unless following a heading)
327 .de P
328 .ie \\n(PP .PP
329 .el .LP
330 .nr PP 1
331 ..
333 .am LP
334 .nr PP 1
335 ..
338 . \" LI - Numbered paragraph ``list item'' ($1=label)
339 .de LI
340 .ie \\n(.$ .IP "\\h'\\n(PIu'\\$1." 2u*\\n(PIu
341 .el .IP "\\h'\\n(PIu'\\(bu" 2u*\\n(PIu
342 .nr PP 1
343 ..
344 .ig \" backup
345 .ie \\n(.$ .IP "\h'1n'\\$1"
346 .el .IP "\h'1.5n'\\(bu"
347 ..
349 . \" BU - Bulleted paragraph
350 .de BU
351 .LI
352 ..
354 . \" QS - Block quote start
355 .de QS
356 .ti \\n(.iu
357 .\"RT
358 .sp 2u*\\n(PDu
359 .ne 1.1
360 .ps -1
361 .vs -1
362 .in +\\n(QIu
363 .ll -\\n(QIu
364 .ti \\n(.iu
365 .\"if \\n(Qp .ti +\\n(PIu
366 .\"nr QP 1
367 .\"rr Qp
368 ..
370 . \" QP - Block quote paragraph
371 .de QP
372 .sp \n(PDu
373 .ne 1.1
374 .ti +\\n(PIu
375 ..
377 . \" QP - Block quote end
378 .de QE
379 .sp \\n(PDu
380 .in -\\n(QIu
381 .ll +\\n(QIu
382 .ti \\n(.iu
383 .ps +1
384 .vs +1
385 ..
387 . \" DS - Code display
388 .am DS
389 .ft CW
390 .ps -1
391 .ta T 8n
392 ..
394 . \" VS - verbatim text start (\\ -> ^G; ' -> disabled; . -> ^B)
395 .de VS
396 .br
397 .ne 3
398 .sp \n(DDu
399 .di _V
400 .nf
401 .ft CW
402 .ps -.5
403 .\" set up verbatim environment
404 \.blm
405 \.ec 
406 \.c2 ""
407 \.cc 
408 ..
410 . \" VE - verbatim text end (NOTE: Needs to be called as ^BVE !)
411 .de VE
412 \" restore the special characters
413 cc
414 .c2
415 .ec
416 .br
417 .di
418 .ne \\n(dnu+1v \" ensure enough space on the page
419 .in +2u*\\n(PIu
420 .ta T 8n
421 \.ec  \" set up verbatim environment, once again
422 \.c2 ""
423 \.cc 
424 _V \" output the verbatim content
425 \" restore the special characters
426 cc
427 .c2
428 .ec
429 .blm __
430 .in -2u*\\n(PIu
431 .sp \n(DDu
432 .ps +.5
433 .ft P
434 .fi
435 .TA
436 ..
438 . \" VF - verbatim text from file ($1=filename)
439 .de VF
440 .VS
441 so $1
442 VE
443 ..
445 .de Fn \" file name
446 .CW "\\$1" "\\$2
447 ..
448 .de Pn \" program name
449 .CW "\\$1" "\\$2
450 ..
451 .de Fu \" function
452 .CW "\\$1" "\\$2
453 ..
454 .de Ev \" env variable
455 .CW "\\$1" "\\$2
456 ..
457 .de Cl \" command line
458 `\c
459 .CW "\\$1" "'\\$2
460 ..
461 .de Sw \" switch
462 .CW "\\$1" "\\$2
463 ..
464 .de Ar \" argument
465 .CW "\f(CI\\$1" "\\$2
466 ..
467 .de Mp \" man page
468 .I "\\$1" "\\$2
469 ..
470 .de Pe \" profile entry
471 .CW "\\$1" "\\$2
472 ..
473 .de Hd \" mail header field
474 .CW "\\$1:\&" "\\$2
475 ..
477 .de Ci \" commit hash ref
478 .ds _t \\$1
479 .substring _t 0 6
480 [\(rh\|\fL\\*(_t\fP]\\$2
481 ..
483 . \" Cf - reference within the document ($1=name of ref file)
484 .de Cf
485 \.if !\\nZ .so refs/\\$1 \c
486 \\$2
487 ..
489 . \" Id - put a referenceable marker here ($1=identifier)
490 .de Id
491 .tm REF____\\$1\t\\*(SN\t\\n(PN
492 ..