forked from w3c/csswg-drafts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtml2psrc
More file actions
154 lines (131 loc) · 3.28 KB
/
html2psrc
File metadata and controls
154 lines (131 loc) · 3.28 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@html2ps {
paper {
type: letter;
}
option {
DSC: 1; /* DSC compliant PostScript */
xref: 1; /* cross references a la [p 31] */
duplex: 1; /* double sided */
/* number: 1; */ /* have page numbers */
original: 1; /* use original PostScript images */
hyphenate: 1; /* hyphenation on */
language: "en"; /* hyphenate for English */
colour: 1; /* maintain color */
}
xref {
text: "[p. $N]"; /* avoid line breaks before page no. */
passes: 2;
}
header {
alternate: 1;
center: $T;
}
footer {
alternate: 1;
left: "$D";
right: "$N";
center: " ";
}
margin {
left: 3.5cm;
right: 3.5cm;
}
hyphenation {
en {
file: hyphen.tex
}
}
package {
netpbm: 1;
libwww-perl: 1;
}
doc-sep: "<!--OddPage-->"; /* have every first page on the right */
}
BODY {
margin: 2em 1em 2em 70px;
font-family: Helvetica, sans-serif;
color: black;
background-color: white;
background-position: top left;
background-repeat: no-repeat;
}
H1, H2, H3 {
text-align: left;
font-family: Helvetica, sans-serif;
font-weight: normal;
color: #0050B2;
}
.hide { display: none }
DIV.head { margin-bottom: 1em }
DIV.head H1 { margin-top: 2em }
DIV.head TABLE { margin-left: 2em; margin-top: 2em }
DIV.head IMG { color: white; border: none } /* remove border from top image */
P.copyright { font-size: smaller }
P {
margin-top: 0;
margin-bottom: .5em;
text-indent: 1em;
}
PRE {
font-family: monospace;
margin-left: 1em;
}
.guideline { font-size: 120%;
border-width: 1px;
border: 1px solid;
color: black;
background-color: #FFFFCC;
padding-top: 5px;
padding-bottom: 5px;
padding-right: 5px;
padding-left: 5px;
margin-top: 10px;
width: 80%
}
H4 { font-weight: normal; font-style: italic }
DL.checkpoint { margin-left: 2em }
DT.checkpoint { font-weight: normal; margin-top: 1em }
SPAN.checkpoint { font-weight: bold }
.checkpoint-nb { color: maroon; background: white}
.quicktest { color: black; background-color: #B6B0FF }
.example { border-style: solid;
border-width: 1px ;
color: #5D0091;
background-color: #F9F5DE;
border-color: #5D0091
}
.deprecated-example { border-style: solid;
border-width: 1px ;
color: #5D0091;
background-color: #F9F5DE;
border-color: red
}
.elements { color: black; background-color: #E7FFFE }
.attributes { color: black; background-color: #FFFADF }
.off { display:none }
.dfn { color: #00513D;
background-color: white;
font-style: italic
}
HR { margin-top: .5em}
.toc {
text-indent: 0;
}
P.toc-line {
margin-top: 1em;
margin-bottom: 1em;
text-indent: 0;
}
UL.toc, OL.toc {list-style: none}
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
DIV.toc UL UL UL UL, DIV.toc OL OL OL OL {margin-left: 0}
LI.tocline1 {font-weight: bold}
LI.tocline2 {font-weight: normal}
LI.tocline4 {font-style: italic}
DIV.toc, UL.index, {
text-align: left
}
IMG {
border: 0;
}