summaryrefslogtreecommitdiff
path: root/doc.html2ps
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-11 11:33:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-11 11:33:31 +0200
commit88bef7fa19d595b64944edc38696bb1ceadba2fb (patch)
treebd31a777979dbee688d9e40061f5ba3081822ebb /doc.html2ps
parent06a3934fd76a32a752062d424a6cfc98edd543ad (diff)
Add common documentation pro/epilogues, html2ps config
Diffstat (limited to 'doc.html2ps')
-rw-r--r--doc.html2ps66
1 files changed, 66 insertions, 0 deletions
diff --git a/doc.html2ps b/doc.html2ps
new file mode 100644
index 0000000..41e5922
--- /dev/null
+++ b/doc.html2ps
@@ -0,0 +1,66 @@
+@html2ps {
+ option {
+ toc: hb;
+ colour: 1;
+ hyphenate: 1;
+ titlepage: 1;
+ }
+
+ datefmt: "%B %Y";
+
+ titlepage {
+ content: "
+<div align=center>
+ <h1><big>The <code>build2</code> $[title]</big></h1>
+ <h1>&nbsp;</h1>
+ <h1>&nbsp;</h1>
+ <h1>&nbsp;</h1>
+ <h1>&nbsp;</h1>
+ <h1>&nbsp;</h1>
+ <h1>&nbsp;</h1>
+ <h1>&nbsp;</h1>
+ <h1>&nbsp;</h1>
+ <h1>&nbsp;</h1>
+</div>
+ <p>Copyright &copy; 2014-2016 Code Synthesis Ltd<br/>
+ Permission is granted to copy, distribute and/or modify this document under
+ the terms of the MIT License.</p>
+
+ <p>Revision <code>$[version]</code>, $D<br/>
+ This revision of the document describes the <code>build2</code> $[subject]
+ <code>$[version].x</code> series.</p>";
+ }
+
+ toc {
+ indent: 2em;
+ }
+
+ header {
+ odd-right: $H;
+ even-left: $H;
+ }
+
+ footer {
+ odd-left: Revision $[version], $D;
+ odd-center: $T;
+ odd-right: $N;
+
+ even-left: $N;
+ even-center: $T;
+ even-right: Revision $[version], $D;
+ }
+}
+
+body {
+ font-size: 12pt;
+ text-align: justify;
+ background: white;
+}
+
+code {
+ font-size: 9pt;
+}
+
+pre {
+ font-size: 9pt;
+}