Mercurial > docs > bib-ref2
annotate style @ 61:0f2510fa7d98 default tip
Some more minor cleanups in the text.
Already done on 2014-11-05 and thus part of the PB publication.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Fri, 21 Nov 2014 08:50:55 +0100 |
parents | b07970cdf8a7 |
children |
rev | line source |
---|---|
0 | 1 .do xflag 3 |
2 .de __ | |
3 .. | |
4 .blm __ \" ignore empty lines in input | |
5 .lc_ctype en_US.utf8 | |
6 .mediasize a4 | |
7 | |
8 .ds _f libertine | |
9 | |
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 .\} | |
38 | |
39 | |
40 .ss 12 0 \" the second (non-portable) argument requests french spacing | |
41 | |
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 | |
48 | |
49 .hylang de_DE | |
50 | |
5
99e550ebe66b
style: adjusted font size
markus schnalke <meillo@marmaro.de>
parents:
3
diff
changeset
|
51 .nr PS 12 |
99e550ebe66b
style: adjusted font size
markus schnalke <meillo@marmaro.de>
parents:
3
diff
changeset
|
52 .nr VS 20 |
0 | 53 |
54 .ds CH " | |
55 | |
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 | |
62 | |
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 | |
71 | |
72 .de _H | |
73 'sp |\n(HMu-1.5c | |
74 .ps 12 | |
75 .vs 14 | |
76 .ft I | |
3 | 77 .\" .tl 'Markus Schnalke: Open Access aus der Perspektive der Freien Software''%' |
19 | 78 .\" .tl 'Markus Schnalke: Open Access und Freie Software''%' |
79 .tl 'Markus Schnalke: Open Access, Freie Software und Co.''%' | |
0 | 80 .ft P |
81 .ps | |
82 .vs | |
83 .. | |
84 .wh 1u _H | |
85 | |
86 . \" ZZ - enlarge or shorten the text block on the current | |
87 . \" page to avoid widows | |
88 . \" .ZZ -> enlarge by one line | |
89 . \" .ZZ +3 -> enlarge by three lines | |
90 . \" .ZZ -2 -> shorten by two lines | |
91 . \" .ZZ +1c -> enlarge by one centimeter | |
92 . \" .ZZ "" -> reset to the default | |
93 .de ZZ | |
94 .ie \\n(.$=0 .ch FO -\\n(FMu+1v | |
95 .el .ch FO -\\n(FMu\\$1 | |
96 .. | |
97 | |
98 . \" CW - Set text in CW font (similar to .B and .I) | |
99 .de CW | |
100 .nr PQ \\n(.f | |
101 .if t \{\ | |
102 . ft CW | |
103 . if !^\\$1^^ \&\\$1\f\\n(PQ\\$2 | |
104 .\} | |
105 .if n \{\ | |
106 . ie ^\\$1^^ .ul 999 | |
107 . el .ul 1 | |
108 . if \\n(.$=1 \&\\$1 | |
109 . if \\n(.$>1 \&\\$1\c | |
110 . if \\n(.$>1 \&\\$2 | |
111 .\} | |
112 .. | |
113 | |
114 . \" refer(1) stuff | |
115 .ds [. " [ | |
116 .ds .] ] | |
117 .rm ]< | |
118 .de ]< | |
119 . de FP | |
120 . IP \\\\$1 | |
121 \\.. | |
122 . rm FS FE | |
123 .. | |
124 | |
125 . \" PT - page top macro of ms | |
126 .am PT | |
127 . rs | |
128 .. | |
129 | |
130 | |
131 . \" RN - Reset PN and continue on an odd page ($1=number-format) | |
132 .de RN | |
133 .ie e .pn 1 | |
134 .el \{ | |
135 . pn 0 | |
136 . bp | |
137 .\} | |
138 .ie \\n(.$=1 \{\ | |
139 . af PN \\$1 | |
140 . af % \\$1 | |
141 .\} | |
142 .el \{\ | |
143 . af PN 1 | |
144 . af % 1 | |
145 .\} | |
146 .. | |
147 | |
148 | |
149 . \" T_ - Add TOC entry ($1=pre-space $2=indent-level $3=text) | |
150 .de T_ | |
151 .tm TOC____.sp \\$1 | |
152 .tm TOC____\&\\h'\\$2u*2u*\\n(PIu'\\$3\0\0\a\t\\n(PN\fR | |
153 .. | |
154 | |
155 . \" NH - redefine numbered heading | |
156 .de NH | |
157 .SH | |
158 .nr NS \\$1 | |
159 .if !\\n(.$ .nr NS 1 | |
160 .if !\\n(NS .nr NS 1 | |
161 .nr H\\n(NS +1 | |
162 .if \\n(NS<2 .nr H2 0 | |
163 .if \\n(NS<3 .nr H3 0 | |
164 .ds SN \\n(H1 | |
165 .if \\n(NS>1 .as SN \&.\\n(H2 | |
166 .if \\n(NS>2 .as SN \&.\\n(H3 | |
167 .. | |
168 | |
169 . \" H- - Chapter not numbered and not in TOC ($2==yes -> TOC) | |
170 .de H- | |
171 .ig IG | |
172 .EH " | |
173 .OH " | |
174 .IG | |
175 .bp | |
176 .\" .if e .rs \" move to an odd page | |
177 .\" .if e .bp | |
178 .lg 0 | |
179 .nr PS +6 | |
180 .nr VS +6 | |
181 .SH | |
182 .ce 1 | |
183 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ | |
184 \&\\$1 | |
185 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü | |
186 .br | |
187 .nr PS -6 | |
188 .nr VS -6 | |
189 .lg | |
190 .ig IG | |
191 .EH "\\\\*(_E | |
192 .OH "\\\\*(_o | |
193 .IG | |
194 .\" .ds CF \\n(PN | |
195 .if '\\$2'yes' \{ | |
196 .rm t_ | |
197 .T_ .5v 0 "\fB\\*(t_\\$1 | |
198 .\} | |
199 .RT | |
200 .sp 2 | |
201 .nr PP 0 | |
202 .. | |
203 | |
204 . \" AP - Start the Appendix | |
205 .de AP | |
206 .nr _A 1 | |
207 .nr H1 0 | |
208 .af H1 A | |
209 .. | |
210 | |
211 . \" H0 - Chapter ($2=="no" -> not numbered) | |
212 .de H0 | |
213 .\" bp | |
214 .\" .if e .rs \" begin chapter on an odd page | |
215 .\" .if e .bp | |
216 .br | |
217 .lg 0 | |
218 .nr PS +4 | |
219 .nr VS +4 | |
220 .ie ,\\$2,no, \{\ | |
221 . SH | |
222 . ce 99 | |
223 .if !,\\$3,no, .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ | |
224 \&\\$1 | |
225 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü | |
226 .\} | |
227 .el \{\ | |
228 . NH 1 | |
229 . ce 99 | |
230 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ | |
231 . ie \\n(_A Appendix \\*(SN. \\$1 | |
232 . el \\*(SN. \\$1 | |
233 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü | |
234 .\} | |
235 .br | |
236 .ce 0 | |
237 .nr PS -4 | |
238 .nr VS -4 | |
239 .lg | |
240 .\" add to TOC | |
241 .rm t_ | |
242 .if !,\\$2,no, .ds t_ \\Z'\\*(SN'\\h'3n' | |
10
deab4a0f4fb0
decl: added note about the title change
markus schnalke <meillo@marmaro.de>
parents:
5
diff
changeset
|
243 .if !,\\$2,no, .T_ .5v 0 "\fB\\*(t_\\$1 |
0 | 244 .RT |
245 .sp .5 | |
246 .ns | |
247 .nr PP 0 | |
248 .. | |
249 | |
250 | |
251 . \" H1 - Section ($2=="no" -> not numbered) | |
252 .de H1 | |
253 .br | |
254 .ne 7 | |
255 .sp | |
256 .lg 0 | |
257 .nr PS +2 | |
258 .nr VS +2 | |
259 .ie '\\$2'no' .SH | |
260 .el .NH 2 | |
261 .if !'\\$2'no' \&\\*(SN | |
262 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZäÄöÖüÜ | |
263 \&\\$1 | |
264 .br | |
265 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzääööüü | |
266 .nr PS -2 | |
267 .nr VS -2 | |
268 .lg | |
269 .if !'\\$2'no' .T_ .3v 1 "\\Z'\\*(SN'\\h'4n'\\$1 \" add to TOC | |
270 .RT | |
271 .nr PP 0 | |
272 .. | |
273 | |
274 . \" H2 - Subsection | |
275 .de H2 | |
276 .br | |
277 .ne 4 | |
278 .NH 3 | |
279 \&\\*(SN \\$1 | |
280 .T_ 0 2 "\\Z'\\*(SN'\\h'5.5n'\\$1 \" add to TOC | |
281 .RT | |
282 .nr PP 0 | |
283 .. | |
284 | |
285 . \" U1 - Section ($2=="yes" -> add to TOC) | |
286 .de U1 | |
287 .sp .5 | |
49 | 288 .ne 5 |
0 | 289 .lg 0 |
290 .nr PS +2 | |
291 .nr VS +2 | |
292 .ns | |
293 .SH | |
294 \&\\$1 | |
295 .br | |
296 .nr PS -2 | |
297 .nr VS -2 | |
298 .lg | |
299 .T_ .3v 1 "\\$1 \" add to TOC | |
300 .RT | |
301 .nr PP 0 | |
302 .. | |
303 | |
304 | |
305 . \" U2 - Subsection unnumbered ($2=="yes" -> add to TOC) | |
306 .de U2 | |
307 .sp .5 | |
308 .ne 4 | |
309 .ns | |
310 .SH | |
311 \&\\$1 | |
312 .if '\\$2'yes' .T_ 0 2 "\\Z'\\*(SN'\\h'5.5n'\\$1 \" add to TOC | |
313 .RT | |
314 .nr PP 0 | |
315 .. | |
316 | |
317 . \" U3 - Subsubsection unnumbered | |
318 .de U3 | |
319 .br | |
320 .ne 4 | |
321 .RT | |
322 .sp | |
323 .I "\\$1 | |
324 .RT | |
325 .nr PP 0 | |
326 .. | |
327 | |
328 . \" P - Paragraph (indented unless following a heading) | |
329 .de P | |
330 .ie \\n(PP .PP | |
331 .el .LP | |
332 .nr PP 1 | |
333 .. | |
334 | |
335 .am LP | |
336 .nr PP 1 | |
337 .. | |
338 | |
339 | |
340 . \" LI - Numbered paragraph ``list item'' ($1=label) | |
341 .de LI | |
342 .ie \\n(.$ .IP "\\h'\\n(PIu'\\$1." 2u*\\n(PIu | |
343 .el .IP "\\h'\\n(PIu'\\(bu" 2u*\\n(PIu | |
344 .nr PP 1 | |
345 .. | |
346 .ig \" backup | |
347 .ie \\n(.$ .IP "\h'1n'\\$1" | |
348 .el .IP "\h'1.5n'\\(bu" | |
349 .. | |
350 | |
351 . \" BU - Bulleted paragraph | |
352 .de BU | |
353 .LI | |
354 .. | |
355 | |
356 . \" QS - Block quote start | |
357 .de QS | |
358 .ti \\n(.iu | |
359 .\"RT | |
360 .sp 2u*\\n(PDu | |
361 .ne 1.1 | |
362 .ps -1 | |
363 .vs -1 | |
364 .in +\\n(QIu | |
365 .ll -\\n(QIu | |
366 .ti \\n(.iu | |
367 .\"if \\n(Qp .ti +\\n(PIu | |
368 .\"nr QP 1 | |
369 .\"rr Qp | |
370 .. | |
371 | |
372 . \" QP - Block quote paragraph | |
373 .de QP | |
374 .sp \n(PDu | |
375 .ne 1.1 | |
376 .ti +\\n(PIu | |
377 .. | |
378 | |
379 . \" QP - Block quote end | |
380 .de QE | |
381 .sp \\n(PDu | |
382 .in -\\n(QIu | |
383 .ll +\\n(QIu | |
384 .ti \\n(.iu | |
385 .ps +1 | |
386 .vs +1 | |
387 .. | |
388 | |
389 . \" DS - Code display | |
390 .am DS | |
391 .ft CW | |
392 .ps -1 | |
393 .ta T 8n | |
394 .. | |
395 | |
396 . \" VS - verbatim text start (\\ -> ^G; ' -> disabled; . -> ^B) | |
397 .de VS | |
398 .br | |
399 .ne 3 | |
400 .sp \n(DDu | |
401 .di _V | |
402 .nf | |
403 .ft CW | |
404 .ps -.5 | |
405 .\" set up verbatim environment | |
406 \.blm | |
407 \.ec | |
408 \.c2 "" | |
409 \.cc | |
410 .. | |
411 | |
412 . \" VE - verbatim text end (NOTE: Needs to be called as ^BVE !) | |
413 .de VE | |
414 \" restore the special characters | |
415 cc | |
416 .c2 | |
417 .ec | |
418 .br | |
419 .di | |
420 .ne \\n(dnu+1v \" ensure enough space on the page | |
421 .in +2u*\\n(PIu | |
422 .ta T 8n | |
423 \.ec \" set up verbatim environment, once again | |
424 \.c2 "" | |
425 \.cc | |
426 _V \" output the verbatim content | |
427 \" restore the special characters | |
428 cc | |
429 .c2 | |
430 .ec | |
431 .blm __ | |
432 .in -2u*\\n(PIu | |
433 .sp \n(DDu | |
434 .ps +.5 | |
435 .ft P | |
436 .fi | |
437 .TA | |
438 .. | |
439 | |
440 . \" VF - verbatim text from file ($1=filename) | |
441 .de VF | |
442 .VS | |
443 so $1 | |
444 VE | |
445 .. | |
446 | |
447 .de Fn \" file name | |
448 .CW "\\$1" "\\$2 | |
449 .. | |
450 .de Pn \" program name | |
451 .CW "\\$1" "\\$2 | |
452 .. | |
453 .de Fu \" function | |
454 .CW "\\$1" "\\$2 | |
455 .. | |
456 .de Ev \" env variable | |
457 .CW "\\$1" "\\$2 | |
458 .. | |
459 .de Cl \" command line | |
460 `\c | |
461 .CW "\\$1" "'\\$2 | |
462 .. | |
463 .de Sw \" switch | |
464 .CW "\\$1" "\\$2 | |
465 .. | |
466 .de Ar \" argument | |
467 .CW "\f(CI\\$1" "\\$2 | |
468 .. | |
469 .de Mp \" man page | |
470 .I "\\$1" "\\$2 | |
471 .. | |
472 .de Pe \" profile entry | |
473 .CW "\\$1" "\\$2 | |
474 .. | |
475 .de Hd \" mail header field | |
476 .CW "\\$1:\&" "\\$2 | |
477 .. | |
478 | |
479 .de Ci \" commit hash ref | |
480 .ds _t \\$1 | |
481 .substring _t 0 6 | |
482 [\(rh\|\fL\\*(_t\fP]\\$2 | |
483 .. | |
484 | |
485 . \" Cf - reference within the document ($1=name of ref file) | |
486 .de Cf | |
487 \.if !\\nZ .so refs/\\$1 \c | |
488 \\$2 | |
489 .. | |
490 | |
491 . \" Id - put a referenceable marker here ($1=identifier) | |
492 .de Id | |
493 .tm REF____\\$1\t\\*(SN\t\\n(PN | |
494 .. |