docs/bib-ref2

view style @ 1:5e7f58b50e96

bib: added literature
author markus schnalke <meillo@marmaro.de>
date Thu, 13 Feb 2014 21:12:28 +0100
parents
children 45628cedd75c
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 0 \".3v
44 .nr QI 2u*\n(PIu
45 .nr lu 0
46 .af PN i
47 .af % i
49 .hylang de_DE
51 .nr PS 11
52 .nr VS 16
54 .ds CH "
56 .nr PO 2.5c
57 .nr HM 3.5c
58 .nr FM 3.5c
59 .nr LL 15c
60 .ll 15c
61 .nr LT \n(LL
63 . \" _M - change margins for text block on next page
64 .de _M
65 .\" if t .if o .nr PO 5c
66 .\" if t .if e .nr PO 3c
67 .\" nr PO 2.5c
68 .\" ds CF "
69 ..
70 .\" .wh -1u _M
72 .de _H
73 'sp |\n(HMu-1.5c
74 .ps 12
75 .vs 14
76 .ft I
77 .tl 'Markus Schnalke: Open Access aus der Perspektive der Freien Software''%'
78 .ft P
79 .ps
80 .vs
81 ..
82 .wh 1u _H
84 . \" ZZ - enlarge or shorten the text block on the current
85 . \" page to avoid widows
86 . \" .ZZ -> enlarge by one line
87 . \" .ZZ +3 -> enlarge by three lines
88 . \" .ZZ -2 -> shorten by two lines
89 . \" .ZZ +1c -> enlarge by one centimeter
90 . \" .ZZ "" -> reset to the default
91 .de ZZ
92 .ie \\n(.$=0 .ch FO -\\n(FMu+1v
93 .el .ch FO -\\n(FMu\\$1
94 ..
96 . \" CW - Set text in CW font (similar to .B and .I)
97 .de CW
98 .nr PQ \\n(.f
99 .if t \{\
100 . ft CW
101 . if !^\\$1^^ \&\\$1\f\\n(PQ\\$2
102 .\}
103 .if n \{\
104 . ie ^\\$1^^ .ul 999
105 . el .ul 1
106 . if \\n(.$=1 \&\\$1
107 . if \\n(.$>1 \&\\$1\c
108 . if \\n(.$>1 \&\\$2
109 .\}
110 ..
112 . \" refer(1) stuff
113 .ds [. " [
114 .ds .] ]
115 .rm ]<
116 .de ]<
117 . de FP
118 . IP \\\\$1
119 \\..
120 . rm FS FE
121 ..
123 . \" PT - page top macro of ms
124 .am PT
125 . rs
126 ..
129 . \" RN - Reset PN and continue on an odd page ($1=number-format)
130 .de RN
131 .ie e .pn 1
132 .el \{
133 . pn 0
134 . bp
135 .\}
136 .ie \\n(.$=1 \{\
137 . af PN \\$1
138 . af % \\$1
139 .\}
140 .el \{\
141 . af PN 1
142 . af % 1
143 .\}
144 ..
147 . \" T_ - Add TOC entry ($1=pre-space $2=indent-level $3=text)
148 .de T_
149 .tm TOC____.sp \\$1
150 .tm TOC____\&\\h'\\$2u*2u*\\n(PIu'\\$3\0\0\a\t\\n(PN\fR
151 ..
153 . \" NH - redefine numbered heading
154 .de NH
155 .SH
156 .nr NS \\$1
157 .if !\\n(.$ .nr NS 1
158 .if !\\n(NS .nr NS 1
159 .nr H\\n(NS +1
160 .if \\n(NS<2 .nr H2 0
161 .if \\n(NS<3 .nr H3 0
162 .ds SN \\n(H1
163 .if \\n(NS>1 .as SN \&.\\n(H2
164 .if \\n(NS>2 .as SN \&.\\n(H3
165 ..
167 . \" H- - Chapter not numbered and not in TOC ($2==yes -> TOC)
168 .de H-
169 .ig IG
170 .EH "
171 .OH "
172 .IG
173 .bp
174 .\" .if e .rs \" move to an odd page
175 .\" .if e .bp
176 .lg 0
177 .nr PS +6
178 .nr VS +6
179 .SH
180 .ce 1
181 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ
182 \&\\$1
183 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü
184 .br
185 .nr PS -6
186 .nr VS -6
187 .lg
188 .ig IG
189 .EH "\\\\*(_E
190 .OH "\\\\*(_o
191 .IG
192 .\" .ds CF \\n(PN
193 .if '\\$2'yes' \{
194 .rm t_
195 .T_ .5v 0 "\fB\\*(t_\\$1
196 .\}
197 .RT
198 .sp 2
199 .nr PP 0
200 ..
202 . \" AP - Start the Appendix
203 .de AP
204 .nr _A 1
205 .nr H1 0
206 .af H1 A
207 ..
209 . \" H0 - Chapter ($2=="no" -> not numbered)
210 .de H0
211 .\" bp
212 .\" .if e .rs \" begin chapter on an odd page
213 .\" .if e .bp
214 .br
215 .lg 0
216 .nr PS +4
217 .nr VS +4
218 .ie ,\\$2,no, \{\
219 . SH
220 . ce 99
221 .if !,\\$3,no, .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ
222 \&\\$1
223 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü
224 .\}
225 .el \{\
226 . NH 1
227 . ce 99
228 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ
229 . ie \\n(_A Appendix \\*(SN. \\$1
230 . el \\*(SN. \\$1
231 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü
232 .\}
233 .br
234 .ce 0
235 .nr PS -4
236 .nr VS -4
237 .lg
238 .\" add to TOC
239 .rm t_
240 .if !,\\$2,no, .ds t_ \\Z'\\*(SN'\\h'3n'
241 .T_ .5v 0 "\fB\\*(t_\\$1
242 .RT
243 .sp .5
244 .ns
245 .nr PP 0
246 ..
249 . \" H1 - Section ($2=="no" -> not numbered)
250 .de H1
251 .br
252 .ne 7
253 .sp
254 .lg 0
255 .nr PS +2
256 .nr VS +2
257 .ie '\\$2'no' .SH
258 .el .NH 2
259 .if !'\\$2'no' \&\\*(SN
260 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ
261 \&\\$1
262 .br
263 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü
264 .nr PS -2
265 .nr VS -2
266 .lg
267 .if !'\\$2'no' .T_ .3v 1 "\\Z'\\*(SN'\\h'4n'\\$1 \" add to TOC
268 .RT
269 .nr PP 0
270 ..
272 . \" H2 - Subsection
273 .de H2
274 .br
275 .ne 4
276 .NH 3
277 \&\\*(SN \\$1
278 .T_ 0 2 "\\Z'\\*(SN'\\h'5.5n'\\$1 \" add to TOC
279 .RT
280 .nr PP 0
281 ..
283 . \" U1 - Section ($2=="yes" -> add to TOC)
284 .de U1
285 .sp .5
286 .ne 7
287 .lg 0
288 .nr PS +2
289 .nr VS +2
290 .ns
291 .SH
292 \&\\$1
293 .br
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 ..