# HG changeset patch # User markus schnalke # Date 1341997522 -7200 # Node ID 6f8adf7d190ce3118f1d9ec0b14bdc06ba7851a3 # Parent 1d28ed59de8a99b8aaa9ca1ae65e225f8b87ed95 style: Extended the system to handle appendices and fixed the page hdrs. diff -r 1d28ed59de8a -r 6f8adf7d190c colophon.roff --- a/colophon.roff Wed Jul 11 11:04:43 2012 +0200 +++ b/colophon.roff Wed Jul 11 11:05:22 2012 +0200 @@ -1,4 +1,4 @@ -.H- Colophon no +.H- Colophon .P This document was typeset with the .I troff diff -r 1d28ed59de8a -r 6f8adf7d190c official.roff --- a/official.roff Wed Jul 11 11:04:43 2012 +0200 +++ b/official.roff Wed Jul 11 11:05:22 2012 +0200 @@ -1,4 +1,4 @@ -.H- Confirmation no +.H- Confirmation .P I hereby declare that this thesis is the result of my own work, except where otherwise indicated. diff -r 1d28ed59de8a -r 6f8adf7d190c style --- a/style Wed Jul 11 11:04:43 2012 +0200 +++ b/style Wed Jul 11 11:05:22 2012 +0200 @@ -43,6 +43,7 @@ .af PN i .ds _E '\\\\n(PN''\f(SCMarkus Schnalke: The Modern Mail Handler\fP' \" left +.ds _a '\f(SCAppendix \\\\n(H1\ \ \\\\*(_C\fP''\\\\n(PN' \" right .ds _O '\f(SCChapter \\\\n(H1\ \ \\\\*(_C\fP''\\\\n(PN' \" right .ds _o '\f(SC\\\\*(_C\fP''\\\\n(PN' \" right .ds CH " @@ -131,7 +132,7 @@ .if \\n(NS>2 .as SN \&.\\n(H3 .. -. \" H- - Chapter unnumbered and not in TOC ($2=="no" -> no page hdrs) +. \" H- - Chapter not numbered and not in TOC .de H- .EH " .OH " @@ -150,17 +151,21 @@ .nr PS -6 .nr VS -6 .lg -.if !,\\$2,no, \{ -. EH "\\\\*(_E -. ie \\n(H1 .OH "\\\\*(_O -. el .OH "\\\\*(_o -. ds CF \\n(PN -.\} +.EH "\\\\*(_E +.OH "\\\\*(_o +.ds CF \\n(PN .RT .sp 4 .nr PP 0 .. +. \" AP - Start the Appendix +.de AP +.nr _A 1 +.nr H1 0 +.af H1 A +.. + . \" H0 - Chapter ($2=="no" -> not numbered) .de H0 .EH " @@ -175,7 +180,8 @@ .el \{\ . NH 1 . ce 1 -Chapter \\*(SN +.ie \\n(_A Appendix \\*(SN +.el Chapter \\*(SN . sp .5 .\} .ce 1 @@ -193,8 +199,9 @@ .\" set page headers and footers .EH "\\\\*(_E .ds _C "\\$1 -.ie \\n(H1 .OH "\\\\*(_O -.el .OH "\\\\*(_o +.ie ,\\$2,no, .OH "\\\\*(_o +.el .ie \\n(_A .OH "\\\\*(_a +.el .OH "\\\\*(_O .ds CF \\n(PN .RT .sp 4