Mercurial > docs > master
comparison style @ 79:f3c95ee96cc4
Moved TOC from end to beginning; extended makefile.
The TOC generation concept and idea was inspired by the book
``UNIX Text Processing''.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 06 Jun 2012 10:56:14 +0200 |
parents | 0947c24dd4c6 |
children | 5fb821ed6f3c |
comparison
equal
deleted
inserted
replaced
78:64f177ca2af1 | 79:f3c95ee96cc4 |
---|---|
86 | 86 |
87 .am PT | 87 .am PT |
88 . rs | 88 . rs |
89 .. | 89 .. |
90 | 90 |
91 .de T_ \" add entry to TOC: .T_ pre-space indent-level text | |
92 .tm TOC____.sp \\$1 | |
93 .tm TOC____\&\\h'\\$2u*2u*\\n(PIu'\\$3\0\0\a\t\\n(PN\fR | |
94 .. | |
95 | |
91 .rm NH | 96 .rm NH |
92 .de NH | 97 .de NH |
93 .SH | 98 .SH |
94 .nr NS \\$1 | 99 .nr NS \\$1 |
95 .if !\\n(.$ .nr NS 1 | 100 .if !\\n(.$ .nr NS 1 |
155 . nr PS -6 | 160 . nr PS -6 |
156 . nr VS -6 | 161 . nr VS -6 |
157 . lg | 162 . lg |
158 .ds _C "\\$1 | 163 .ds _C "\\$1 |
159 . RT | 164 . RT |
160 . XS | 165 .rm t_ |
161 . sp .5v | 166 .if !,\\$2,no, .ds t_ \\*(SN\0\0 |
162 . B | 167 .T_ .5v 0 "\fB\\*(t_\\$1 |
163 .ie \\n(.$=1 \{\ | |
164 \\*(SN \\$1 | |
165 .\} | |
166 .el .if ,\\$2,no, \&\\$1 | |
167 . XE | |
168 .EH "\\\\*(_E | 168 .EH "\\\\*(_E |
169 .ie \\n(H1 .OH "\\\\*(_O | 169 .ie \\n(H1 .OH "\\\\*(_O |
170 .el .OH "\\\\*(_o | 170 .el .OH "\\\\*(_o |
171 .ds CF \\n(PN | 171 .ds CF \\n(PN |
172 .sp 4 | 172 .sp 4 |
203 . nr PS -2 | 203 . nr PS -2 |
204 . nr VS -2 | 204 . nr VS -2 |
205 . lg | 205 . lg |
206 . RT | 206 . RT |
207 .if !'\\$2'no' \{\ | 207 .if !'\\$2'no' \{\ |
208 .ds _S "\\$1 | 208 . ds _S "\\$1 |
209 . XS | 209 . T_ .3v 1 "\\*(SN\0\0\\$1 |
210 . sp .3v | |
211 \\*(SN \\$1 | |
212 . XE | |
213 .\} | 210 .\} |
214 .nr PP 0 | 211 .nr PP 0 |
215 .. | 212 .. |
216 | 213 |
217 .de H2 | 214 .de H2 |
220 .NH 3 | 217 .NH 3 |
221 \&\\*(SN | 218 \&\\*(SN |
222 \\$1 | 219 \\$1 |
223 .RT | 220 .RT |
224 .ds _S "\\$1 | 221 .ds _S "\\$1 |
225 .XS | 222 .T_ 0 2 "\\*(SN\0\0\\$1 |
226 \\*(SN \\$1 | |
227 .XE | |
228 .nr PP 0 | 223 .nr PP 0 |
229 .. | 224 .. |
230 | 225 |
231 .de U2 | 226 .de U2 |
232 .br | 227 .br |