1 |
adcroft |
1.1 |
/* Global configuration file for html2ps */ |
2 |
|
|
|
3 |
|
|
@html2ps { |
4 |
|
|
|
5 |
|
|
package { |
6 |
|
|
PerlMagick: 0; |
7 |
|
|
netpbm: 1; |
8 |
|
|
ImageMagick: 1; |
9 |
|
|
djpeg: 1; |
10 |
|
|
TeX: 1; |
11 |
|
|
dvips: 1; |
12 |
|
|
Ghostscript: 1; |
13 |
|
|
libwww-perl: 1; |
14 |
|
|
path: "/usr/X11R6/bin:/usr/bin"; |
15 |
|
|
} |
16 |
|
|
|
17 |
|
|
paper { |
18 |
|
|
type: letter; |
19 |
|
|
} |
20 |
|
|
|
21 |
|
|
hyphenation { |
22 |
|
|
en { |
23 |
|
|
file: "/usr/share/texmf/tex/generic/hyphen/hyphen.tex"; |
24 |
|
|
} |
25 |
|
|
} |
26 |
|
|
|
27 |
|
|
option { |
28 |
|
|
/* number: 0; - it already numbers the pages! */ |
29 |
|
|
colour: 1; |
30 |
|
|
duplex: 1; /* Generate postscript code for double sided printing. */ |
31 |
|
|
/* toc: hb; Generate a table of contents, based on headings make it appear first */ |
32 |
|
|
toc: h; /* Generate a table of contents, based on headings make it appear last */ |
33 |
|
|
/* frame: 1; */ |
34 |
|
|
frame: 0; |
35 |
|
|
hyphenate: 1; /* Hyphenate the text */ |
36 |
|
|
} |
37 |
|
|
|
38 |
|
|
frame { /* The appearance of the optional frame controls */ |
39 |
|
|
width: 0.6pt; |
40 |
|
|
margin: 0.5cm; |
41 |
|
|
color: black; |
42 |
|
|
} |
43 |
|
|
|
44 |
|
|
toc { |
45 |
|
|
heading: "<H2>Table of Contents:</H2>"; |
46 |
|
|
extrapage: 1; |
47 |
|
|
} |
48 |
|
|
|
49 |
|
|
header { /* Running page header */ |
50 |
|
|
odd-left: $T; /* Document title */ |
51 |
|
|
odd-right: $H; /* Current main heading */ |
52 |
|
|
even-left: $H; /* Ditto */ |
53 |
|
|
even-right: $A; /* Document author (from <META NAME="Author"...>) */ |
54 |
|
|
font-family: Times; |
55 |
|
|
} |
56 |
|
|
|
57 |
|
|
footer { /* Running page footer */ |
58 |
|
|
/* center: "- $N -"; */ |
59 |
|
|
odd-right: $N ; |
60 |
|
|
even-left: $N ; /* Page number */ |
61 |
|
|
even-right: $D; |
62 |
|
|
odd-left: $D; |
63 |
|
|
font-family: Times; |
64 |
|
|
} |
65 |
|
|
|
66 |
|
|
xref { |
67 |
|
|
text: "[p $N]"; |
68 |
|
|
passes: 10; |
69 |
|
|
|
70 |
|
|
} |
71 |
|
|
|
72 |
|
|
doc-sep: "<HR class=PAGE-BREAK>"; /* Separation between more than one document */ |
73 |
|
|
page-break: 1; /* Generating page breaks */ |
74 |
|
|
datefmt: "%e %b %Y"; |
75 |
|
|
showurl: 0; /* Show URL:s for external links */ |
76 |
|
|
seq-number: 1; /* Automatic numbering of headings */ |
77 |
|
|
xref: 1; |
78 |
|
|
} |
79 |
|
|
|
80 |
|
|
/* Standard style sheet definitions */ |
81 |
|
|
|
82 |
|
|
// BODY { |
83 |
|
|
// doesn't work :( |
84 |
|
|
// background: white; |
85 |
|
|
//} |
86 |
|
|
|
87 |
|
|
P { text-align: justify } |
88 |
|
|
|
89 |
|
|
H1, H2, H3, H4, H5, H6 { |
90 |
|
|
font-family: Times; |
91 |
|
|
font-weight: bold |
92 |
|
|
text-align: left |
93 |
|
|
} |
94 |
|
|
|
95 |
|
|
H1 { |
96 |
|
|
font-size: 20pt; |
97 |
|
|
/* text-align: center */ |
98 |
|
|
} |
99 |
|
|
H3, H5 { font-style: oblique } |
100 |
|
|
H2 { font-size: 18pt } |
101 |
|
|
H3 { font-size: 16pt } |
102 |
|
|
H4, H5 { font-size: 13pt } |
103 |
|
|
H6 { font-size: 11pt } |
104 |
|
|
ADDRESS { text-align: right } |
105 |
|
|
PRE { |
106 |
|
|
background-color: #ccccff; |
107 |
|
|
padding: .25em; |
108 |
|
|
margin: .25em; |
109 |
|
|
border: thin dashed black; |
110 |
|
|
} |
111 |
|
|
|