1 |
/* Global configuration file for html2ps */ |
2 |
|
3 |
/* This version is suitable for generating the slides. The slides are |
4 |
generated with landscape orientation. Most likely that you want to use the: |
5 |
pod2hpp -idf |
6 |
|
7 |
the -i will convert * into items, so you don't need to work hard to create |
8 |
bullets, just start the line with * and you are all set, pod2hpp will |
9 |
podify it for you. |
10 |
|
11 |
*/ |
12 |
|
13 |
|
14 |
@html2ps { |
15 |
|
16 |
package { |
17 |
PerlMagick: 0; |
18 |
netpbm: 1; |
19 |
ImageMagick: 1; |
20 |
djpeg: 1; |
21 |
TeX: 1; |
22 |
dvips: 1; |
23 |
Ghostscript: 1; |
24 |
libwww-perl: 1; |
25 |
path: "/usr/X11R6/bin:/usr/bin"; |
26 |
} |
27 |
|
28 |
paper { |
29 |
type: letter; |
30 |
} |
31 |
|
32 |
hyphenation { |
33 |
en { |
34 |
file: "./hyphen.tex"; |
35 |
} |
36 |
} |
37 |
|
38 |
option { |
39 |
/* number: 0; - it already numbers the pages! */ |
40 |
colour: 1; |
41 |
duplex: 0; /* 1 generate postscript code for double sided printing. */ |
42 |
toc: 0; |
43 |
/* toc: hb; Generate a table of contents, based on headings make it appear first */ |
44 |
/* toc: h; Generate a table of contents, based on headings make it appear last */ |
45 |
frame: 1; |
46 |
hyphenate: 0; /* Do not Hyphenate the text */ |
47 |
|
48 |
landscape: 1; /* We want it landscape - it doesn't work here, use -L at command line or --landscape */ |
49 |
} |
50 |
|
51 |
frame { /* The appearance of the optional frame controls */ |
52 |
width: 0.6pt; |
53 |
margin: 0.5cm; |
54 |
color: black; |
55 |
} |
56 |
|
57 |
margin{ |
58 |
left: 1.5; |
59 |
right: 1.5; |
60 |
top: 1.5; |
61 |
bottom: 2.0; |
62 |
|
63 |
} |
64 |
|
65 |
header { /* Running page header */ |
66 |
color: white; /* we don't want the header in slides */ |
67 |
} |
68 |
|
69 |
footer { /* Running page footer */ |
70 |
center: "Slide $N"; /* Page number */ |
71 |
left: $T; /* Document title */ |
72 |
right: $A; /* Author */ |
73 |
font-family: Courier; |
74 |
font-size: 16pt |
75 |
/* font-weight: bold; */ |
76 |
color: black; |
77 |
alternate: 0; |
78 |
} |
79 |
|
80 |
|
81 |
doc-sep: "<HR class=PAGE-BREAK>"; /* Separation between more than one document */ |
82 |
page-break: 1; /* Generating page breaks */ |
83 |
datefmt: "%e %b %Y"; |
84 |
ball-radius: 0.15em; /* The radius, given as a relative size, of the balls used in unordered lists. */ |
85 |
showurl: 0; /* Show URL:s for external links */ |
86 |
seq-number: 1; /* Automatic numbering of headings */ |
87 |
xref: 1; |
88 |
} |
89 |
|
90 |
BODY { |
91 |
font-family: Helvetica; |
92 |
font-size: 24pt; |
93 |
} |
94 |
|
95 |
/* Sans Serif font? */ |
96 |
|
97 |
/* Standard style sheet definitions */ |
98 |
P { text-align: justify; } |
99 |
|
100 |
H1, H2, H3, H4, H5, H6 { |
101 |
font-family: Helvetica; |
102 |
font-weight: bold; |
103 |
text-align: left; |
104 |
} |
105 |
|
106 |
H1 { |
107 |
font-size: 48pt; |
108 |
/* text-align: center; */ |
109 |
} |
110 |
H3, H5 { font-style: oblique; } |
111 |
H2 { font-size: 44pt; } |
112 |
H3 { font-size: 40pt; } |
113 |
H4, H5 { font-size: 32pt; } |
114 |
H6 { font-size: 28pt; } |
115 |
|
116 |
ADDRESS { text-align: right; } |
117 |
|
118 |
PRE { |
119 |
font-size: 24pt; |
120 |
font-family: Courier; |
121 |
font-weight: bold; |
122 |
} |
123 |
|
124 |
CODE { |
125 |
font-size: 30pt; |
126 |
font-family: Courier; |
127 |
font-weight: bold; |
128 |
} |
129 |
|
130 |
OL, UL, DD { |
131 |
margin-left: 2em; |
132 |
color: white; |
133 |
} |