summaryrefslogtreecommitdiff
path: root/doc.html2ps
blob: 41e5922deb8e754e103da30d8370c34a4f356b38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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;
}