1GROHTML(1) General Commands Manual GROHTML(1)
2
3
4
6 grohtml - html driver for groff
7
9 grohtml [ -vhlrn ] [ -Ddir ] [ -Fdir ] [ -iresolution ]
10 [ -Iimage-stem ] [ -oimage-vertical-offset ] [ -aaa-text-bits ]
11 [ -aaa-graphic-bits ] [ files... ]
12
14 The grohtml front end (which consists of a preprocessor, pre-grohtml,
15 and a device driver, post-grohtml) translates the output of GNU troff
16 to html. Users should always invoke grohtml via the groff command with
17 a -Thtml option. If no files are given, grohtml will read the standard
18 input. A filename of - will also cause grohtml to read the standard
19 input. Html output is written to the standard output. When grohtml is
20 run by groff options can be passed to grohtml using groff's -P option.
21
23 -aaa-text-bits
24 Number of bits of antialiasing information to be used by text
25 when generating png images. The default is 4 but legal values
26 are 0, 1, 2, and 4. Note your version of gs needs to support
27 the -dTextAlphaBits and -dGraphicAlphaBits options in order to
28 exploit antialiasing. A value of 0 stops grohtml from issuing
29 antialiasing commands to gs.
30
31 -gaa-graphic-bits
32 Number of bits of antialiasing information to be used by graph‐
33 ics when generating png images. The default is 4 but legal val‐
34 ues are 0, 1, 2, and 4. Note your version of gs needs to sup‐
35 port the -dTextAlphaBits and -dGraphicAlphaBits options in order
36 to exploit antialiasing. A value of 0 stops grohtml from issu‐
37 ing antialiasing commands to gs.
38
39 -b Initialize the background color to white.
40
41 -h Generates section and number headings by using <B>...</B> and
42 increasing the font size, rather than using the <Hn>...</Hn>
43 tags.
44
45 -l Turns off the production of automatic section links at the top
46 of the document.
47
48 -r Turns off the automatic header and footer line (html rule).
49
50 -n Generate simple heading anchors whenever a section/number head‐
51 ing is found. Without the option the anchor value is the tex‐
52 tual heading. This can cause problems when a heading contains a
53 `?' on some browsers (netscape). This flag is automatically
54 turned on if a heading contains an image.
55
56 -p Display page rendering progress to stderr. grohtml only dis‐
57 plays a page number when an image is required.
58
59 -Fdir Prepend directory dir/devname to the search path for font and
60 device description files; name is the name of the device, usu‐
61 ally html.
62
63 -iresolution
64 Select the resolution for all images. By default this is 100
65 pixels per inch. Example: -i200 indicates 200 pixels per inch.
66
67 -Istem Determine the image stem name. If omitted grohtml uses grohtml-
68 XXX (XXX is the process ID).
69
70 -overtical-offset
71 Specify the vertical offset of images in points.
72
73 -Ddir Inform grohtml to place all image files into directory dir.
74
75 -v Print the version number.
76
78 There are styles called R, I, B, and BI mounted at font positions 1 to
79 4.
80
82 grohtml is dependent upon the png utilities (pnmcut, pnmcrop, pnmtopng)
83 and GhostScript (gs). pnmtopng (version 2.37.6 or greater) and pnmcut
84 from the netpbm package (version 9.16 or greater) will work also. It
85 is also dependent upon psselect from the PSUtils package. Images are
86 generated whenever a table, picture, equation or line is encountered.
87
89 Grohtml has been completely redesigned and rewritten. It is still
90 alpha code.
91
93 afmtodit(1), groff(1), troff(1), psbb(1), groff_out(5), groff_font(5),
94 groff_char(7)
95
96
97
98Groff Version 1.18.1.4 16 September 2002 GROHTML(1)