1215 |
.ft P |
.ft P |
1216 |
.. |
.. |
1217 |
. |
. |
1218 |
|
.ds www-nav-colour "#eeeeee |
1219 |
|
.nr www-nav-width-left 30 |
1220 |
|
.nr www-nav-width-right 70 |
1221 |
|
. |
1222 |
|
. |
1223 |
|
.\" LNS - left navigation start |
1224 |
|
. |
1225 |
|
.de LNS |
1226 |
|
. HTML</p> "<table><tr><td valign=top width=\\n[www-nav-width-left]% bgcolor=""\\*[www-nav-colour]"">" |
1227 |
|
. LK |
1228 |
|
. HTML</p> "</td><td valign=top width=\\n[www-nav-width-right]%>" |
1229 |
|
. nr SH-open 1 |
1230 |
|
.. |
1231 |
|
. |
1232 |
|
.\" LNE - left navigation end |
1233 |
|
. |
1234 |
|
.de LNE |
1235 |
|
. HTML</p> </td></tr></table> |
1236 |
|
. HR |
1237 |
|
.. |
1238 |
|
.nr SH-open 0 |
1239 |
|
.nr needs-begin 0 |
1240 |
|
. |
1241 |
|
. |
1242 |
|
.de www-SH |
1243 |
|
. if (0\\$1 == 0) \{\ |
1244 |
|
. if (\\n[SH-open] == 1) .LNE |
1245 |
|
. nr needs-begin 1 |
1246 |
|
. @SH-old |
1247 |
|
. \} |
1248 |
|
.. |
1249 |
|
. |
1250 |
|
.de www-NH |
1251 |
|
. if (0\\$1 <= 1) \{\ |
1252 |
|
. if (\\n[SH-open] == 1) .LNE |
1253 |
|
. nr needs-begin 1 |
1254 |
|
. @NH-old |
1255 |
|
. \} |
1256 |
|
.. |
1257 |
|
. |
1258 |
|
.de www-LP |
1259 |
|
. @LP-old |
1260 |
|
. if (\\n[needs-begin] == 1) \{\ |
1261 |
|
. HR |
1262 |
|
. LNS |
1263 |
|
. \} |
1264 |
|
. nr needs-begin 0 |
1265 |
|
.. |
1266 |
|
. |
1267 |
|
.\" ALN [colour] [left width percentage] |
1268 |
|
.\" turns on automatic left navigation, this macro should only be |
1269 |
|
.\" called once (normally at the start of the document) as it |
1270 |
|
.\" indicates the all top level section headings will form a |
1271 |
|
.\" navigation list on the left of the main text. |
1272 |
|
. |
1273 |
|
.de ALN |
1274 |
|
. if '\*(.T'html' \{\ |
1275 |
|
. if !'\\$1'' .ds www-nav-colour \\$1 |
1276 |
|
. if (0\\$2 > 0) \{\ |
1277 |
|
. nr www-nav-width-left \\$2 |
1278 |
|
. nr www-nav-width-right (100-\\$2) |
1279 |
|
. \} |
1280 |
|
. rn @SH @SH-old |
1281 |
|
. rn www-SH @SH |
1282 |
|
. rn @NH @NH-old |
1283 |
|
. rn www-NH @NH |
1284 |
|
. rn @LP @LP-old |
1285 |
|
. rn www-LP @LP |
1286 |
|
. \} |
1287 |
|
.. |
1288 |
|
. |
1289 |
.if r ps4html .nop \O[0] |
.if r ps4html .nop \O[0] |
1290 |
.cp \n(_C |
.cp \n(_C |
1291 |
. |
. |