2 Copyright (C) 1999-2000 Free Software Foundation, Inc.
4 Permission is granted to make and distribute verbatim copies of this
5 manual provided the copyright notice and this permission notice are
6 preserved on all copies.
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
19 .\" Like TP, but if specified indent is more than half
20 .\" the current line-length - indent, use the default indent.
22 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
25 .TH GROHTML @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
27 grohtml \- html driver for groff
36 .ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
37 .el .RB "[\ " "\\$1" "\ ]"
43 .RI "[\ " files\|.\|.\|. "\ ]"
47 It is possible to have whitespace between a command line option and its
51 translates the output of GNU
56 should be invoked by using the groff command with a
59 If no files are given,
61 will read the standard input.
66 to read the standard input.
67 Html output is written to the standard output.
72 options can be passed to
83 to generate html line breaks in the same position as troff dictates.
86 generates text in paragraphs which is formatted by the html browser.
89 turn on internal debugging.
94 not to try and guess titles and headings.
95 By using this flag together with the -m and -a flag
97 will treat the html browser as a printer, not as a formatter.
102 will not remove left margins.
107 from generating html tables when implementing indentation and tabular text.
109 can implement .IP by tables or html indents.
110 However if .2C is used it can only be sensibly converted to html using a
112 As a few known bugs still exist with the html table code this option is
113 present to supress execution of this development code.
116 is that html tables are generated when appropriate.
121 from generating images when processing output from tbl.
122 This is useful when simple textual tables are being produced.
127 for font and device description files;
129 is the name of the device, usually
133 select the type of image generated when grohtml encounters an equation,
135 By default this is png256.
136 Legal image types are: gif and any of the png formats which are supported by
140 select the resolution for all images.
141 By default this is 80 pixels per inch.
142 Example: -r100 indicates 100 pixels per inch.
145 Print the version number.
150 There are styles called
156 mounted at font positions 1 to 4.
157 It is advisable to invoke groff with the -mhtml macro set, which turns off
158 headers, footers, and hyphenation; additionally, it will right justify text.
161 is dependent upon grops and gs.
164 has been configured to generate gif files then it is further dependent upon,
165 ppmtogif, and ppmquant.
166 However if it has been configured to generate png files (the default) then
167 it is dependent upon gs having a png output device.
168 Images are generated whenever a table, picture, equation or line is
171 This is still very alpha.
172 At least three major bugs remain:
175 sometimes miscalculates the end of an html table resulting in text which
177 Secondly equation numbers are not handled correctly.
178 Thirdly equation macros and pic macros can confuse
181 .BR afmtodit (@MAN1EXT@),
182 .BR groff (@MAN1EXT@),
183 .BR @g@troff (@MAN1EXT@),
184 .BR psbb (@MAN1EXT@),
185 .BR groff_out (@MAN5EXT@),
186 .BR groff_font (@MAN5EXT@),
187 .BR groff_char (@MAN7EXT@)