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
|
/* This is a sample configuration file for html2ps. You may try using this
to convert the documentation file that comes with html2ps (html2ps.html).
Issue the command:
html2ps -f sample -o html2ps.ps html2ps.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: "$[author]"; /* Document author (from <META NAME="Author"...>) */
}
footer { /* Running page footer */
center: "- $N -"; /* Page number */
}
option {
toc: h; /* Generate a table of contents, based on headings */
titlepage: 1; /* Generate a title page */
hyphenate: 1;
}
titlepage { /* The title page content: document title, author and
creation date */
content: "<DIV align=center><H1><BIG>$T</BIG></H1>
<H2>$[author]</H2>$[created]";
}
showurl: 1; /* Show URL:s for external links */
seq-number: 1; /* Automatic numbering of headings */
}
/* Standard style sheet definitions */
P { text-align: justify }
H1, H2, H3, H4, H5, H6 { font-family: Helvetica; font-weight: bold }
H1 { font-size: 19pt; text-align: center }
H3, H5 { font-style: oblique }
H2, H3 { font-size: 16pt }
H4, H5 { font-size: 13pt }
H6 { font-size: 11pt }
ADDRESS { text-align: right }
@page:left {
margin-left: 2cm;
margin-right: 3cm;
}
@page:right {
margin-left: 3cm;
margin-right: 2cm;
}
|