3
.TH html2psrc 5 "15 Aug 2000" "Autogenerated" "html2ps configuration file format"
5
html2psrc - configuration file format for html2ps(1)
8
Configuration files are used for layout control, resource information
9
etc. Normally, there should always exist a global configuration file.
10
In this file one typically specify things like: what image conversion
11
packages are available on the system, the default paper size, the default
12
text fonts and sizes, etc.
14
For Unix and Windows systems, the installation script 'install' can be
15
used to automatically build a global configuration file with all necessary
16
definitions, and install all files. The files replaced by the installation
17
are saved. If you for some reason are not satisfied with the new version:
18
execute the script 'backout' to reinstall your earlier version.
20
On other systems, you will have to manually create a global
21
configuration file, and insert the name of this file into the
22
html2ps script (close to the beginning, the line starting with
23
"$globrc="). The configuration file should contain a
24
package block, and perhaps
26
hyphenation blocks, described below.
28
Each user can then have a personal configuration file (by default
29
$HOME/.html2psrc) that complements/overrides the definitions made in the
30
global file. It is also possible to specify alternative files on the
31
command line, using the -f option.
34
A configuration file can include other configuration files. This is done with:
42
@import "\fIfilename\fP";
47
The rest of the configuration file consists of zero or more blocks.
48
A block is given by a block name, followed by the block definition, as in:
64
font-family: Helvetica;
75
The block definition, enclosed by curly braces: { }, consists of
76
key-value pairs and/or other blocks. A key-value pair consists of the key
77
name followed by a colon, followed by the value. Blocks and key-value pairs
78
are separated by semicolons. The semicolon may be omitted after a block.
80
Several blocks can share the same definition. The block names are then
81
separated be commas, as in:
91
H2, H4, H6 { font-style: italic }
96
A comment in a configuration file starts with the characters
97
"/*" and ends with "*/":
111
seq-number: 1; /* Automatic numbering of headings */
122
Here are some definitions of terms used below:
128
A value of either 0 (absence, inactive etc) or 1 (presence, active etc).
131
A real number optionally followed by one of the following two-letter
132
unit identifiers: cm (centimeters), mm (millimeters), in (inches),
133
pt (points, 1pt = 1/72 inch), pc (picas, 1pc = 12pt). The default
137
A size relative to current fontsize. The default and currently only
138
recognized unit is em. One em equals the size of the current font.
139
The value should be given as a real number, optionally followed by 'em',
143
Any one of the characters: space, tab, newline, or carriage return.
150
All blocks, except one: the @html2ps
151
block, coincides with a subset of the
152
Cascading Style Sheets, level 2 CSS2 Specification (http://www.w3.org/TR/REC-CSS2/).
153
The following default settings for html2ps illustrate just about everything
154
that currently can be used from the CSS2 specification:
183
H1, H2, H3, H4, H5, H6 {
191
margin-bottom: 0.5em;
197
H1 { font-size: 19pt }
199
H2 { font-size: 17pt }
201
H3 { font-size: 15pt }
203
H4 { font-size: 13pt }
205
H5 { font-size: 12pt }
207
H6 { font-size: 11pt }
212
P, OL, UL, DL, BLOCKQUOTE, PRE {
242
OL, UL, DD { margin-left: 2em }
247
TT, KBD, PRE { font-family: Courier }
252
PRE { font-size: 9pt }
278
margin-bottom: 0.5em;
302
DIV.noprint { display: none }
307
DEL { text-decoration: line-through }
312
A:link, HR { color: black }
336
The program specific block \fI@html2ps\fP:
338
This block is used to specify parameters that are specific to
339
html2ps, and not covered by CSS2. The @html2ps block has
340
several sub-blocks and key-value pairs, these are described in this section.
342
The \fIpackage\fP block
344
This block is used to specify which program
345
packages are installed on the system. Typically, this is done in the
346
global configuration file.
349
A flag specifying whether the Perl module PerlMagick is installed
350
or not. The default is 0.
353
A flag specifying whether the ImageMagick package is installed
354
or not. The default is 0.
357
A flag specifying whether the pbmplus package is installed
358
or not. The default is 0.
361
A flag specifying whether the netpbm package is installed
362
or not. The default is 0.
365
A flag specifying whether djpeg is installed or not.
369
A flag specifying whether Ghostscript is installed or not.
373
A flag specifying whether the TeX package is installed or not.
377
A flag specifying whether dvips is installed or not.
381
A flag specifying whether the Perl module library libwww-perl
382
is installed or not. The default is 0.
385
A flag specifying whether the Perl scripts www.pl and network.pl
386
(by Jeffrey Friedl) are installed or not. The default is 0.
389
When neither of the Perl packages for retrieving remote documents
390
are available, it is possible to use some other program like lynx or
391
url_get. This value should be set to a command that retrieves a document
392
with a complete MIME header, such as "lynx -source
393
-mime_header" or "url_get -h".
396
The name of a program used for syntax checking HTML documents.
397
No default, a good choice is weblint.
400
A colon separated list of directories where the executables from
401
the program packages are. It is only necessary to include directories
402
that are not in the PATH for a typical user.
405
The \fIpaper\fP block
407
The paper size is defined in this block. The size can either be
408
given as one of the recognized paper types or by giving explicit values for
409
the paper height and width. As of version 1.0 beta2, one can also use the
411
for the paper size. The paper block is kept for backwards compatibility.
412
Also, one can only specify explicit dimensions in @page, not any paper
416
Paper type, possible choices are: A0, A1, A2, A3, A4,...,A10,
417
B0, B1,...,B10, letter, legal, arche, archd, archc, archb, archa,
418
flsa, flse, halfletter, 11x17, and ledger (this set of paper types
419
is taken from Aladdin Ghostscript). The default is A4.
422
An absolute size specifying the paper height.
425
An absolute size specifying the paper width.
428
The \fIoption\fP block
430
This block is used to set default values for the command line
431
options. The key in the key-value pair is the option name, in either its
435
Two column (2-up) output. The default is one column per page.
438
Use \fIURL\fP as a base to expand relative references for in-line
439
images. This is useful if you have downloaded a document to a local file.
440
The \fIURL\fP should then be the \fIURL\fP of the original document.
443
Check the syntax of the HTML file (using an external syntax
444
checker). The default is to not make a syntax check.
447
Generate a table of contents (ToC). The value should be a string
448
consisting of one of the letters 'f', 'h', or 't', optionally combined
455
The ToC will be printed first. This requires that Ghostscript is
459
The ToC will be generated from the links in the converted document.
462
The ToC will be generated from headings and
463
titles in the converted documents. Note that if the document author
464
for some strange reason has chosen to use some other means to represent
465
the headings than the HTML elements H1,...,H6, you are out of luck!
468
The ToC will be generated from links having the attribute
469
rev=TOC in the converted document.
475
Generate debugging information. You should always use this
476
option when reporting problems with html2ps.
479
Generate DSC compliant PostScript. This requires Ghostscript and
480
can take quite some time to do. Note that a PostScript file generated
481
with this option cannot be used as input to html2ps for reformatting
485
The document encoding. Currently recognized values are ISO-8859-1,
486
EUC-JP, SHIFT-JIS, and ISO-2022-JP (other EUC-xx encodings may also
487
work). The default is ISO-8859-1.
490
A colon separated list of configuration file names to use
491
instead of the default personal configuration file $HOME/.html2psrc.
492
Definitions made in one file override definitions in previous files
493
(the last file in the list has highest precedence). An empty file
494
name (as in ':file', 'file1::file3', or 'file:') will expand to the
495
default personal file. The environment variable HTML2PSPATH is used
496
to specify the directories where to search for these files. (Note:
497
this is only supposed to be used on the command line, not
498
in a configuration file.)
501
Draw a frame around the text on each page. The default is
505
Convert colour images to grayscale images. Note that the
506
PostScript file will be smaller when the images are converted to
507
grayscale. The default is to generate colour images.
510
Show usage information.
513
Hyphenate the text. This requires TeX
514
hyphenation pattern files.
517
Scale in-line images with a factor \fInum\fP.
521
Enable cookie support, using a netscape formatted cookie
522
\fIfile\fP (requires libwww-perl).
525
Specifies the language of the document
526
(overrides an eventual LANG attribute of the BODY element).
527
The language should be given according to
528
RFC1766 (ftp://ftp.nordu.net/rfc/rfc1766.txt) and
529
ISO 639 (http://www.oasis-open.org/cover/iso639a.html).
532
Generate code for printing in landscape mode. The default
536
Scale mathematical formulas with a factor \fInum\fP.
540
Insert page numbers. The default is to not number the pages.
543
Specifies the starting page number, the default is 1.
546
Write the PostScript code to \fIfile.\fP The default is
547
to write to standard output.
550
Use PostScript original images if they exist. For example, if a
551
document contains an image figure.gif, and an encapsulated PostScript
552
file named figure.ps exists in the same directory, that file will be
553
use instead. This only work for documents read as local files. Note:
554
if the PostScript file is large or contains bitmap images, this must
555
be combined with the -D option. In HTML 4.0 this can be achieved in a
556
much better way with:
566
<OBJECT data="figure.ps" type="application/postscript">
570
<OBJECT data="figure.gif" type="image/gif">
574
<PRE>[Maybe some ASCII art for text browsers]</PRE>
588
When a document is read from a local file, this value specifies
589
a base directory for resolving relative links starting with "/".
590
Typically, this should be the directory where your web server's home
594
Insert cross references at every link to
595
within the set of converted documents.
598
Scale the entire document with a factor \fInum\fP.
602
This option complements/overrides definitions made in the
603
configuration files. The \fIstring\fP must follow the configuration
604
file syntax. (Note: this is only supposed to be used on the
605
command line, not in a configuration file.)
608
Generate a title page. The default is to not generate one.
611
Text mode, ignore images. The default is to include the images.
614
Underline text that constitutes a hypertext link. The default
618
Produce colour output for text and background, when specified.
619
The default is black text on white background (mnemonic: coloUr ;-).
622
Print information about the current version of html2ps.
625
Process a web of documents by recursively retrieve and convert
626
documents that are referenced with hyperlinks. When dealing with remote
627
documents it will of course be necessary to impose restrictions, to
628
avoid downloading the entire web... The value should be a string
629
consisting of one of the letters 'a', 'b', 'l', 'r', or 's', optionally
630
combined with a combination of the letters 'p', 'L', and a positive
640
Follow only links to within the same directory, or below, as the
644
Follow only links specified with
645
"<LINK rel=NEXT>" in the document.
648
Prompt for each remote document. This mode will automatically be
649
entered after the first 50 documents.
652
Follow only relative links.
655
Follow only links to within the same server as the start document.
658
With this option, the order in which the documents are processed will
659
be: first all top level documents, then the documents linked to from
660
these etc. For example, if the document A has links to B and C, and
661
B has a link to D, the order will be A-B-C-D.
662
By default, each document will be followed by the first document
663
it links to etc; so the default order for the example is
667
A positive integer giving the number of recursive levels. The
668
default is 4 (when the option is present).
674
Generate postscript code for single or double sided printing.
675
No default, valid values are:
687
Double sided, opposite page reversed (tumble mode).
693
The \fImargin\fP block
695
This block is used to specify page margins. The left, right, top
696
and bottom margins, previously defined with this block, should now be
697
defined using the @page
698
construction from CSS2.
701
An absolute size for the distance between the columns when
702
printing two columns per page, default is 2cm.
707
At every hyperlink (to within the set of converted documents)
708
it is possible to have a cross reference inserted. The \fIxref\fP
709
block is used to control this function.
712
This defines the cross reference text to be inserted; the symbol
713
$N will expand to the page number, default is "[p $N]".
716
The number of passes used to insert the cross references.
717
Normally, only one pass is run. But since the insertion of the page
718
numbers may effect the page breaks, it might for large documents with
719
many links be necessary with more than one pass to get the cross
720
references right. The default is 1.
723
The \fIquote\fP block
725
Language specific quotation marks are defined in this block.
726
These quotation marks are used with the HTML 4.01 element Q for short
727
quotations. Quotation marks are predefined for a few languages (English,
728
Swedish, Danish, Norwegian (also Nynorsk and Bokmļæ½l), Finnish, Spanish,
729
French, German and Italian). It is possible to define different quotation
730
marks for quotes within quotes.
732
A quotation mark is defined as a string, using the same encoding as the
733
converted document (normally ISO-8859-1), and/or with character entities.
734
Note that quotation mark characters for several languages are not
735
included in ISO-8859-1, and their corresponding character entities were
736
not been defined prior to HTML 4.0.
738
Quotation marks for a language can be defined explicitly in a sub-block
739
of the quote block. One can also identify the set of quotation
740
marks with another previously defined language, using a key-value pair.
741
The sub-block/key name should equal the language code as defined in
742
ISO 639. The language sub-block can have the following key-values:
748
The quote opening character(s).
751
The quote closing character(s). If undefined, it will equal
755
The quote opening character(s) for quotes within quotes. If undefined,
759
The quote closing character(s) for quotes within quotes. If undefined,
765
Example: English and Spanish use the same set of quotation marks -
766
at least according to my book on typography. These (already known to
767
html2ps) are defined with:
809
When a table of contents (ToC) is generated from document
810
headings and titles, the appearance is controlled by this block.
813
A string with HTML code specifying a heading used on the first
817
The maximum heading level used for building the ToC. The
818
default is 6, which means that all headings will generate
822
The ToC entries are indented proportional to the corresponding
823
heading level. This value specifies the size of the indentation.
827
The \fItitlepage\fP block
829
When a title page is generated, its appearance is controlled by
833
A string with HTML code specifying a heading used on the
834
title page, The default is
836
<H1><BIG>$T</BIG></H1>
837
<H2>$[author]</H2></DIV>".
840
The size of the top margin on the title page,
846
Currently, html2ps recognizes the fonts: Times,
847
New-Century-Schoolbook, Helvetica, Helvetica-Narrow, Palatino, Avantgarde,
848
Bookman, and Courier. To add a new font (family), choose a name (consisting
849
of letters, digits, hyphens, and underscores) for the font. Then define a
850
sub-block to the font block, with the same name as the chosen
851
font name. This block can contain two key-value pairs:
857
A string containing four PostScript font names, separated by
858
whitespace, corresponding to the font styles normal, italic, bold, and
859
bold-italic. If less than four names are given, the first is used for
860
the missing names. Note that PostScript font names are case sensitive.
863
A string of four file names, separated by whitespace, for files
864
containing font definitions for the four font styles as specified above.
869
Example: A font 'myfont' has its four font styles defined in local files.
870
To use this font in all tables in the converted documents, one can use
881
TABLE { font-family: myfont }
898
names: "MyFont-Roman MyFont-Italic MyFont-Bold MyFont-BoldItalic";
900
files: "/x/y/myfr.pfa /x/y/myfi.pfa /x/y/myfb.pfa /x/y/myfbi.pfa";
918
The \fIhyphenation\fP block
920
Hyphenation pattern files for different languages are specified
921
in sub-blocks within this block. The blocks names should equal the
922
language code as defined in ISO 639. These language blocks can contain
923
the following two key-values:
929
A hyphenation pattern file in TeX format for this language.
932
A file containing a list of hyphenation exceptions for this language.
933
The exception file should contain words, separated by whitespaces, with
934
hyphens inserted where hyphenation is allowed, as in:
935
"in-fra-struc-ture white-space".
940
For example, for English (with language code 'en') one can have a block
955
file: "/opt/tex/lib/macros/hyphen.tex";
957
extfile: "/opt/tdb/lib/html2ps/enhyphext";
966
The hyphenation block itself can furthermore have these
970
A positive integer defining the minimum number of letters a word
971
must contain to make it a candidate for hyphenation.
975
A positive integer defining the minimum number of letters that
976
must precede the hyphen when a word is hyphenated.
980
A positive integer defining the minimum number of letters that
981
must follow the hyphen when a word is hyphenated.
985
The \fIheader\fP block
987
This block is used to specify page headers. It is possible to
988
define left, center, and right headers. Different headers for odd and even
989
pages can be specified. Some symbols can be used that will expand to
990
document title, author, date etc. See below.
993
A left aligned header. If the alternate flag in this
994
block is set to 1, this will be the right header on even pages.
1000
A right aligned header. If the alternate flag in this
1001
block is set to 1, this will be the left header on even pages.
1004
A left aligned header on odd pages.
1007
A centered header on odd pages.
1010
A right aligned header on odd pages.
1013
A left aligned header on even pages.
1016
A centered header on even pages.
1019
A right aligned header on even pages.
1022
The font used for the header, default is Helvetica.
1025
The font size for the header, default is 8pt.
1028
The default is "normal".
1031
The default is "normal".
1034
The header color, default is black.
1037
A flag indicating whether the headers given by the
1038
left and right keys should change place on
1039
even pages. Typically used for double sided printing.
1043
The \fIfooter\fP block
1045
This block is used to specify page footers. It is possible to
1046
define left, center, and right footers. Different footers for odd and even
1047
pages can be specified. Some symbols can be used that will expand to
1048
document title, author, date etc. See below.
1051
A left aligned footer. If the alternate flag in
1052
this block is set to 1, this will be the right footer on even pages.
1058
A right aligned footer. If the alternate flag in
1059
this block is set to 1, this will be the left footer on even pages.
1062
A left aligned footer on odd pages.
1065
A centered footer on odd pages.
1068
A right aligned footer on odd pages.
1071
A left aligned footer on even pages.
1074
A centered footer on even pages.
1077
A right aligned footer on even pages.
1080
The font used for the footer, default is Helvetica.
1083
The font size for the footer, default is 8pt.
1086
The default is "normal".
1089
The default is "normal".
1092
The footer color, default is black.
1095
A flag indicating whether the footers given by the
1096
left and right keys should change place on
1097
even pages. Typically used for double sided printing.
1101
The \fIframe\fP block
1103
The appearance of the optional frame (drawn on each page) is
1104
controlled by this block.
1107
The width of the frame, default is 0.6pt.
1110
The size of the frame margin, default is 0.5cm.
1113
The colour of the frame, default is black.
1116
The \fIjustify\fP block
1118
This block specifies the maximum amount of extra space inserted
1119
between words and letters when text justification is in effect.
1122
Maximum amount of extra space inserted between words.
1123
The default is 15pt.
1126
Maximum amount of extra space inserted between letters
1127
within words. The default is 0pt.
1130
The \fIdraft\fP block
1132
It is possible to have some text written in a large font diagonally
1133
across each page. Typically this is a word, written in a very light colour,
1134
indicating that the document is a draft.
1137
The text to be printed, default is "DRAFT".
1140
A flag specifying whether the draft text should be printed or not.
1141
If unspecified, the draft text is printed when the document head contains
1142
<META name="Status" content="Draft">.
1145
Specifies print direction, 0=downwards, 1=upwards.
1148
The default is Helvetica.
1151
The default is "normal".
1154
The default is "bold".
1157
The default is "F0F0F0".
1160
The \fIcolour\fP block
1162
The 16 standard colour names from HTML 4.01 (although their
1163
use in HTML elements are now deprecated) are recognized by html2ps.
1164
Use this block to extend this list of colours. This is done with
1165
key-value pairs, where the key is the colour name, and the value is
1166
the colour given as a hexadecimal RGB value, for example: "brown:
1169
.B Key-value pairs in the @html2ps block
1172
The name of the default personal configuration file.
1173
The default is $HOME/.html2psrc.
1176
Specifies which text should be written as a replacement
1177
for in-line images when the IMG element has no ALT attribute.
1178
The default is "[IMAGE]".
1181
The symbol $D can be used in page headers and footers to insert the
1182
current date/time; the value of the datefmt key specifies the
1183
format used. The syntax is the same as in the strftime(3) routine. The
1184
default is "%e %b %Y %R", which gives a date
1185
string like "15 Aug 2000 22:32".
1188
The locale (language code) used for formating language dependent
1189
parts of the date/time in datefmt. If unspecified, the value
1190
is taken from environment variables, see setlocale(3). No default.
1193
A string of HTML code that will be inserted between the
1194
documents when more than one are converted. The default is
1195
"<!--NewPage-->", which will cause
1196
a page break. You may use (almost) any HTML code, for example
1201
The radius, given as a relative size, of the balls used in
1202
unordered lists. The default is 0.25em.
1205
Page numbering style, 0=arabic, 1=roman. The default is 0.
1208
When this flag is set to 1, the URL for external links are shown
1209
within parentheses after the link. The default is 0.
1212
When this flag is set, the headings in the document will be
1213
sequentially numbered: H1 headings will be numbered 1, 2,..., H2 headings
1214
1.1, 1.2, etc. The default is 0.
1217
A flag specifying whether an extra (empty) page should be printed,
1218
when necessary, to ensure that the title page, the table of contents, and
1219
the document itself will start on odd pages. This is typically
1220
desirable for double sided printing. The default is 1.
1223
A flag specifying if a table should be broken across two pages
1224
when it does not fit on the current page, but it does on a page of its own.
1225
The default is 0 (avoid breaking tables when possible).
1228
This flag is used to specify whether FORM elements in the document
1229
should be processed or ignored. Some forms may be suitable for printing out
1230
and be filled out (with a pen), others are not. The default is 1.
1233
When a TEXTAREA element contains prefilled data, the text will be
1234
used as labels if this flag is set, otherwise ignored. The default is
1238
Set this flag to 0 to suppress the normal behavior of generating
1239
page breaks from the comment <!--NewPage--> etc, as
1240
specified below. The default is 1.
1243
A flag specifying whether acronyms, given by the ACRONYM element,
1244
should be expanded or not. The default is 0.
1247
Some web servers return different documents depending on which user
1248
agent is used to retrieve the document. You can fool the web server that
1249
a certain browser is used, by setting this value to the identification
1250
used by the browser, such as "Mozilla/4.0". This only works if you are
1251
using one of the Perl packages to retrieve remote documents.
1254
When this flag is set, some Server Side Includes will be processed
1255
when the document is read from a local file. Examples are
1256
<!--#include file=...>,
1257
<!--#echo var="LAST_MODIFIED">,
1258
<!--#config timefmt=...>. The default is 1.
1261
This flag controls whether the content of form elements should be
1262
rendered or not. That is, when this flag is set, the content of TEXTAREA
1263
elements, and the value of the value attribute of text INPUT elements will
1264
be shown. Also, checked radio buttons and checkboxes will be marked.
1269
The following symbols can be used on the title page, the page headers/footers,
1270
and in the heading for the table of contents:
1272
Symbols of the form "$[\fIname\fP]"
1273
will expand to the value of the content attribute of
1274
META elements, having either of the attributes
1275
"name=\fIname\fP" or
1276
"http-equiv=\fIname\fP" (case insensitive string matching).
1277
For example, when a document containing:
1287
<META name="expires" content="31 Dec 2001">
1292
is converted, using a configuration file with:
1302
footer { left: "Expires: $[expires]" }
1307
this left footer will be inserted:
1317
Expires: 31 Dec 2001
1322
In addition, these symbols are defined:
1328
Current document title.
1331
Author of current document, as specified with <META name="Author"
1332
content="..."> in the document head.
1335
The URL, or file name, of current document.
1341
Current document heading (level 1-3).
1344
Current date/time. The format is given by the datefmt key.
1349
So $A is equivalent to $[author], but kept for
1350
backwards compatibility.
1352
To avoid symbol expansion, precede the dollar sign with a backslash,
1356
I imagine that a typical use of configuration files can be something
1357
along the following lines.
1359
System specific definitions (e.g. specification of available program packages)
1360
and global defaults (paper type etc) are defined in the global configuration
1363
If there is more than one user of the program on the system, each user can
1364
also have a personal configuration file with his/hers own personal preferences.
1365
(On a single user system one can use the global configuration file for this
1368
One may also develop a collection of configuration files for typical
1369
situations. These files are placed in a directory that is searched by html2ps
1370
(the search path is defined with the environment variable HTML2PSPATH).
1371
For example, to print a document as slides - in landscape mode, with
1372
large text in Helvetica, and a thick frame - one can create a
1373
configuration file, called 'slides' say, containing:
1399
frame { width: 3pt }
1409
font-family: Helvetica;
1417
H1 { font-size: 35pt }
1419
H2 { font-size: 32pt }
1421
H3 { font-size: 29pt }
1423
H4 { font-size: 26pt }
1425
H5 { font-size: 23pt }
1427
H6 { font-size: 20pt }
1429
PRE { font-size: 18pt }
1434
Then use the command:
1444
html2ps -f slides ...
1449
to convert the document. Note that with this command the file 'slides' is used
1450
instead of the personal configuration file. If you want both to
1451
be used, giving precedence to definitions made in the file 'slides', use
1462
html2ps -f :slides ...
1467
(The page breaks between the slides can for example be generated by
1468
adding '<HR class=PAGE-BREAK>' to the HTML document.)
1470
For features that are frequently turned on and off, and that cannot be
1471
controlled by command line options, it may be a good idea to create small
1472
configuration files as "building blocks". For example a file 'A4' for
1473
printing on A4 paper (if you have some other default paper type):
1483
@html2ps { paper { type: A4 } }
1488
and a file 'hnum' for automatic numbering of headings:
1498
@html2ps { seq-number: 1 }
1503
Combining this with the previous example: to convert a document for printing
1504
on A4 sized slides with all headings numbered, use the command:
1514
html2ps -f :slides:A4:hnum ...
1520
html2ps(1), setlocale(3), strftime(3)
1522
This manpage describes html2ps version 1.0 beta3.
1524
http://www.tdb.uu.se/~jan/html2ps.html
1526
Jan Karrman (jan@tdb.uu.se)