summaryrefslogtreecommitdiff
path: root/src/devices/grohtml/grohtml.man
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-06-18 22:37:32 +0000
committerwlemb <wlemb>2001-06-18 22:37:32 +0000
commit3492e694b5f6faf451ba4c08f5ba75b604227468 (patch)
treebea8871fb7c4cebc424662ad72b1639f94e85b73 /src/devices/grohtml/grohtml.man
parent84e37c953ca4daf9e861f964e8aaba9d6bb11ce1 (diff)
downloadgroff-3492e694b5f6faf451ba4c08f5ba75b604227468.tar.gz
Added two new options (-D and -I) to specify image names and a
subdirectory to place the images in. Change syntax from \Ox to \O[x]. * src/devices/grohtml/post-html.cc (main): Add options. (usage): Updated. * src/preproc/html/pre-html.cc: Include `stdarg.h'. Use `NULL' instead of `0' for null string pointers. (MAX_RETRIES): New macro. (lengthOfintToStr, intToStr, make_message): New functions. (makeFileName): Make function static. Implement -D and -I options. (checkImageDir): New function. (write_end_image, write_start_image): Use new syntax of O. (createAllPages, removeAllPages): Implement -D and -I options. Use make_message(). (createImage): Use make_message(). (addps4html): Add guard for malloc(). (usage, scanArguments): Updated. (makeTempFiles): Use mkstemp(). (removeTempFiles): Use unlink(). (findPrefix): Add guard for malloc(). (main): Updated. * src/roff/troff/input.cc (get_delim_file_name): New function to parse O. (do_suppress): Updated to parse new syntax. * src/devices/grohtml/grohtml.man: Updated. * tmac/www.tmac: Updated to new syntax. * NEWS: Updated.
Diffstat (limited to 'src/devices/grohtml/grohtml.man')
-rw-r--r--src/devices/grohtml/grohtml.man22
1 files changed, 19 insertions, 3 deletions
diff --git a/src/devices/grohtml/grohtml.man b/src/devices/grohtml/grohtml.man
index dc1df882..24dd0e80 100644
--- a/src/devices/grohtml/grohtml.man
+++ b/src/devices/grohtml/grohtml.man
@@ -37,8 +37,10 @@ grohtml \- html driver for groff
.el .RB "[\ " "\\$1" "\ ]"
..
.OP \-v?lrn
+.OP \-D dir
.OP \-F dir
.OP \-i resolution
+.OP \-I image stem
.OP \-o image vertical offset
.RI "[\ " files\|.\|.\|. "\ ]"
.br
@@ -88,8 +90,9 @@ Turns off the automatic header and footer line (html rule).
.TP
.B -n
Generate simple heading anchors whenever a section/number heading is found.
-Without the option the anchor value is the textual heading. This can cause problems
-when a heading contains a `?' on some brousers (netscape).
+Without the option the anchor value is the textual heading.
+This can cause problems when a heading contains a `?' on some brousers
+(netscape).
This flag is automatically turned on if a heading contains an image.
.TP
.BI \-F dir
@@ -101,10 +104,23 @@ is the name of the device, usually
.BR html .
.TP
.BI \-i resolution
-select the resolution for all images.
+Select the resolution for all images.
By default this is 80 pixels per inch.
Example: -i100 indicates 100 pixels per inch.
.TP
+.BI \-I stem
+Determine the image stem name.
+If omitted grohtml uses
+.BI grohtml- XXX
+.RI ( XXX
+is the process ID).
+.TP
+.BI \-D dir
+Inform
+.B grohtml
+to place all image files into directory
+.IR dir .
+.TP
.B \-v
Print the version number.
.TP