/* html2ps.conf - a configuration file for html2ps.
To use this file against the XHTML Modularization draft, try...
html2ps -f html2ps.conf -o WD-xhtml-modularization.ps WD-xhtml-modularization.html
This should create a PostScript file html2ps.ps formatted based on the
information below.
*/
@html2ps {
header { /* Running page header */
odd-left: $T; /* Document title */
odd-right: $H; /* Current main heading */
even-left: $H; /* Ditto */
even-right: $T; /* Document author (from ) */
}
footer { /* Running page footer */
center: "- $N -"; /* Page number */
}
paper {
type: letter;
}
option {
DSC: 1; /* DSC compliant PostScript */
xref: 1; /* cross references a la [p 31] */
duplex: 1; /* double sided */
colour: 1;
}
xref {
text: "[p.$N]"; /* avoid line breaks before page no. */
passes: 2;
}
doc-sep: ""; /* have every first page on the right */
}
/* the following doesn't work for now,
instead we rely on a patched version of html2ps which has this built-in */
DIV.navbar {
display: none;
}
BODY {
margin: 2em 1em 2em 70px;
font-family: Helvetica, sans-serif;
color: black;
background-color: white;
background-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
}
TH, TD { /* ns 4 */
font-family: Helvetica, sans-serif;
}
H1, H2, H3 {
text-align: left;
font-family: Helvetica, Verdana, "Myriad Web", Syntax, sans-serif;
font-weight: normal;
color: #0050B2;
}
.hide { display: none }
P.copyright { font-size: smaller }
PRE { margin-left: 2em }
/*
P {
margin-top: 0.6em;
margin-bottom: 0.6em;
}
*/
DT, DD { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
DT { font-weight: bold }
PRE { font-family: monospace } /* navigator 4 requires this */
UL.toc { list-style: none }
LI.tocline {font-weight: normal}
BODY {
background-image: url(http://www.w3.org/StyleSheets/TR/PR.gif);
}
p.caption { font-weight: bold; }
.figure { text-align: center }
div.toc {
padding: 0.5em;
border: none;
}
code {
font-family: monospace;
font-weight: bold;
color: #660099;
}
a.ref {
font-weight: bold;
}
a.normref {
font-weight: bold;
}
.center { text-align: center}
.alphalist { list-style-type: upper-alpha}
.codelist { }
dl.codelist { font-family: mono; color: #660099; font-style: normal; font-weight: normal}
.termlist { }
dl.termlist { color: #330000; font-weight: bold}
span.entity { color: red; }
span.element { color: green; }
ul.elements { font-family: mono; color: green; font-weight: bold; }
.elements {font-family: mono; font-weight: bold; }
span.collection {font-family: mono; font-weight: bold; }
span.datatype {font-family: mono; font-weight: bold; }
.attributes {font-family: mono; font-weight: bold; }
span.content {font-family: mono; font-weight: bold; }
pre.dtd {font-size: smaller; }