1 /* This is a sample configuration file for html2ps. You may try using this
2 to convert the documentation file that comes with html2ps (html2ps.html).
5 html2ps -f sample -o html2ps.ps html2ps.html
7 This should create a PostScript file html2ps.ps formatted based on the
12 header { /* Running page header */
13 odd-left: $T; /* Document title */
14 odd-right: $H; /* Current main heading */
15 even-left: $H; /* Ditto */
16 even-right: "$[author]"; /* Document author (from <META NAME="Author"...>) */
18 footer { /* Running page footer */
19 center: "- $N -"; /* Page number */
22 toc: bh; /* Generate a table of contents, based on headings */
23 titlepage: 1; /* Generate a title page */
26 titlepage { /* The title page content: document title, author and
28 content: "<DIV align=center><H1><BIG>$T</BIG></H1>
29 <H2>$[author]</H2>$[created]";
36 heading: "TABLE OF CONTENTS";
38 showurl: 1; /* Show URL:s for external links */
39 seq-number: 1; /* Automatic numbering of headings */
42 /* Standard style sheet definitions */
43 P { text-align: justify }
44 H1, H2, H3, H4, H5, H6 { font-family: Helvetica; font-weight: bold }
45 /* H1 { font-size: 19pt; text-align: center } */
46 H1 { font-size: 19pt; }
47 H3, H5 { font-style: oblique }
48 H2, H3 { font-size: 16pt }
49 H4, H5 { font-size: 13pt }
50 H6 { font-size: 11pt }
51 ADDRESS { text-align: right }
62 font-family: Helvetica;