Skip to content

Commit 1f902f2

Browse files
committed
[css2] Made it look more like the html2psrc of HTML4
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40418
1 parent bb64730 commit 1f902f2

1 file changed

Lines changed: 30 additions & 30 deletions

File tree

css2/html2psrc

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
@html2ps {
2-
package {
3-
netpbm: 1;
4-
}
5-
option {
6-
DSC: 1; /* DSC compliant PostScript */
7-
xref: 1; /* cross references a la [p 31] */
8-
duplex: 1; /* double sided */
9-
number: 1; /* have page numbers */
10-
original: 1; /* use original PostScript images */
11-
}
12-
xref {
13-
text: "[p.$N]"; /* avoid line breaks before page no. */
2+
paper {
3+
type: A4;
4+
}
5+
option {
6+
DSC: 1; /* DSC compliant PostScript */
7+
xref: 1; /* cross references a la [p 31] */
8+
duplex: 1; /* double sided */
9+
number: 1; /* have page numbers */
10+
original: 1; /* use original PostScript images */
11+
}
12+
xref {
13+
text: "[p. $N]"; /* avoid line breaks before page no. */
1414
passes: 2;
15-
}
16-
header {
15+
}
16+
header {
1717
alternate: 1;
1818
center: $T;
19-
}
20-
footer {
19+
}
20+
footer {
2121
alternate: 1;
22-
left: $N;
23-
right: $D;
24-
center: "";
25-
odd-center: "";
26-
even-center: "";
27-
}
28-
paper {
29-
type: A4;
30-
}
31-
margin {
22+
left: "$N";
23+
right: "$D";
24+
center: " ";
25+
odd-center: " ";
26+
even-center: " ";
27+
}
28+
margin {
3229
left: 3.5cm;
3330
right: 3.5cm;
34-
}
35-
hyphenation {
31+
}
32+
hyphenation {
3633
en {
3734
file: hyphen.tex
3835
}
39-
}
36+
}
37+
package {
38+
netpbm: 1;
39+
}
4040
doc-sep: "<!--OddPage-->"; /* have every first page on the right */
4141
}
4242

@@ -80,5 +80,5 @@ P.toc-line {
8080
/* the following doesn't work for now,
8181
instead we rely on a patched version of html2ps which has this built-in */
8282
DIV.navbar {
83-
display: none;
83+
display: none;
8484
}

0 commit comments

Comments
 (0)