From 88bef7fa19d595b64944edc38696bb1ceadba2fb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Feb 2016 11:33:31 +0200 Subject: Add common documentation pro/epilogues, html2ps config --- doc-epilogue.xhtml | 4 ++++ doc-prologue.xhtml | 49 ++++++++++++++++++++++++++++++++++++++++ doc.html2ps | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 doc-epilogue.xhtml create mode 100644 doc-prologue.xhtml create mode 100644 doc.html2ps diff --git a/doc-epilogue.xhtml b/doc-epilogue.xhtml new file mode 100644 index 0000000..aa5a7c3 --- /dev/null +++ b/doc-epilogue.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/doc-prologue.xhtml b/doc-prologue.xhtml new file mode 100644 index 0000000..c9e1c3c --- /dev/null +++ b/doc-prologue.xhtml @@ -0,0 +1,49 @@ + + + + + + + + + + The build2 $title$ + + + + + +
+ +
+ +
+
The build2 $title$
+ +

Copyright © 2014-2016 Code + Synthesis Ltd
+ Permission is granted to copy, distribute and/or modify this document + under the terms of the MIT License.

+ +

Revision $version$, $date$
+ This revision of the document describes the build2 + $subject$ $version$.x series and is available in the + following formats: + XHTML, + PDF/A4, + PDF/Letter, + PostScript/A4, and + PostScript/Letter.

+
+ +

Table of Contents

+ +$TOC$ + +
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: " +
+

The build2 $[title]

+

 

+

 

+

 

+

 

+

 

+

 

+

 

+

 

+

 

+
+

Copyright © 2014-2016 Code Synthesis Ltd
+ Permission is granted to copy, distribute and/or modify this document under + the terms of the MIT License.

+ +

Revision $[version], $D
+ This revision of the document describes the build2 $[subject] + $[version].x series.

"; + } + + 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; +} -- cgit v1.1