docs/master

diff style @ 185:6f8adf7d190c

style: Extended the system to handle appendices and fixed the page hdrs.
author markus schnalke <meillo@marmaro.de>
date Wed, 11 Jul 2012 11:05:22 +0200
parents 846f6a67f44e
children 5060e8cd7e59
line diff
     1.1 --- a/style	Wed Jul 11 11:04:43 2012 +0200
     1.2 +++ b/style	Wed Jul 11 11:05:22 2012 +0200
     1.3 @@ -43,6 +43,7 @@
     1.4  .af PN i
     1.5  
     1.6  .ds _E '\\\\n(PN''\f(SCMarkus Schnalke: The Modern Mail Handler\fP'  \" left
     1.7 +.ds _a '\f(SCAppendix \\\\n(H1\ \ \\\\*(_C\fP''\\\\n(PN'  \" right
     1.8  .ds _O '\f(SCChapter \\\\n(H1\ \ \\\\*(_C\fP''\\\\n(PN'  \" right
     1.9  .ds _o '\f(SC\\\\*(_C\fP''\\\\n(PN'  \" right
    1.10  .ds CH "
    1.11 @@ -131,7 +132,7 @@
    1.12  .if \\n(NS>2 .as SN \&.\\n(H3
    1.13  ..
    1.14  
    1.15 -.	\" H- - Chapter unnumbered and not in TOC ($2=="no" -> no page hdrs)
    1.16 +.	\" H- - Chapter not numbered and not in TOC
    1.17  .de H-
    1.18  .EH "
    1.19  .OH "
    1.20 @@ -150,17 +151,21 @@
    1.21  .nr PS -6
    1.22  .nr VS -6
    1.23  .lg
    1.24 -.if !,\\$2,no, \{
    1.25 -.	EH "\\\\*(_E
    1.26 -.	ie \\n(H1 .OH "\\\\*(_O
    1.27 -.	el .OH "\\\\*(_o
    1.28 -.	ds CF \\n(PN
    1.29 -.\}
    1.30 +.EH "\\\\*(_E
    1.31 +.OH "\\\\*(_o
    1.32 +.ds CF \\n(PN
    1.33  .RT
    1.34  .sp 4
    1.35  .nr PP 0
    1.36  ..
    1.37  
    1.38 +.	\" AP - Start the Appendix
    1.39 +.de AP
    1.40 +.nr _A 1
    1.41 +.nr H1 0
    1.42 +.af H1 A
    1.43 +..
    1.44 +
    1.45  .	\" H0 - Chapter ($2=="no" -> not numbered)
    1.46  .de H0
    1.47  .EH "
    1.48 @@ -175,7 +180,8 @@
    1.49  .el \{\
    1.50  .	NH 1
    1.51  .	ce 1
    1.52 -Chapter \\*(SN
    1.53 +.ie \\n(_A Appendix \\*(SN
    1.54 +.el Chapter \\*(SN
    1.55  .	sp .5
    1.56  .\}
    1.57  .ce 1
    1.58 @@ -193,8 +199,9 @@
    1.59  .\" set page headers and footers
    1.60  .EH "\\\\*(_E
    1.61  .ds _C "\\$1
    1.62 -.ie \\n(H1 .OH "\\\\*(_O
    1.63 -.el .OH "\\\\*(_o
    1.64 +.ie ,\\$2,no, .OH "\\\\*(_o
    1.65 +.el .ie \\n(_A .OH "\\\\*(_a
    1.66 +.el .OH "\\\\*(_O
    1.67  .ds CF \\n(PN
    1.68  .RT
    1.69  .sp 4