/* 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.
*/

/* The toc: thingy does not work with every html file, disable it from
   the option { } when it causes bad PS files.  It causes problems if
   the HTML file doesn't use any <Hx> tags.  Also Ghostscript must be
   installed in the system.  -Pekka */
/* Tested the html2ps with the xhtml and css thingys and it works pretty
   good, so they should be preferred in html format.  -Pekka */

@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 {
    /* Generate a table of contents, based on headings */
    /*toc: bh; */
    titlepage: 1;         /* Generate a title page */
 /*   original: 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]";
  }
  package {
    djpeg: 1;
    Ghostscript: 1;
  }
  toc {
    heading: "TABLE OF CONTENTS";
  }
  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 } */
H1 { font-size: 19pt; }
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;
  type: a4;
}
@page:right {
  margin-left: 3cm;
  margin-right: 2cm;
}
BODY {
  font-family: Helvetica;
  text-align: justify
}
