.TH roff2html 1 "7 February 2022" "groff 1.22.4"
.SH NAME
roff2html \- transform roff code into html mode
.
.\" roff2html.1 - man page for roff2html (section 1).
.
.\" Source file position: /contrib/groffer/roff2.man
.\" Installed position: $prefix/share/man/man1/roff2html.1
.
.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
.\"
.\" Copyright (C) 2006-2018 Free Software Foundation, Inc.
.\"
.\" This file is part of groffer, which is part of GNU groff, a free
.\" software project.
.\"
.\" You can redistribute it and/or modify it under the terms of the GNU
.\" General Public License version 2 (GPL2) as published by the Free
.\" Software Foundation.
.\"
.\" The license text is available in the internet at
.\" .
.
.
.\" ====================================================================
.\" Characters
.\" ====================================================================
.
.\" Ellipsis ...
.ie t .ds EL \fS\N'188'\fP\"
.el .ds EL \&.\|.\|.\&\"
.\" called with \*(EL
.
.
.\" ====================================================================
.SH "SYNOPSIS"
.\" ====================================================================
.
.SY roff2html
.RI [ groffer-option
\*(EL]
.OP \-\-
.RI [ filespec
\*(EL]
.YS
.
.SY roff2html
.B \-h
.SY roff2html
.B \-\-help
.YS
.
.SY roff2html
.B \-v
.SY roff2html
.B \-\-version
.YS
.
.P
The options
.B \-v
and
.B \%\-\-version
print the version information of the program to standard output and exit.
.
The options
.B \-h
and
.B \-\-help
print a usage information of the program to standard output and stop
the program instantly.
.
.
.P
All other options are assumed to be
.B \%groffer
options.
.
They are internally passed to
.BR \%groffer .
They override the behavior of the program.
.
The options are optional, they can be omitted.
.
.
.P
The
.I \%filespec
arguments correspond to the
.I \%filespec
arguments of
.BR \%groffer .
So they are either the names of existing, readable files or
.B \-
for standard input, or the name of a man page or a
.BR \%groffer (1)
man page search pattern.
.
If no
.I \%filespec
is specified standard input is assumed automatically.
.
.
.\" ====================================================================
.SH DESCRIPTION
.
.B \%roff2html
transforms
.I roff
code into
.ie 'html'x' \{\
. I X
mode corresponding to the
. I groff
devices
. BR X *;
this mode is suitable for
. BR \%gxditview (1).
.\}
.el \{\
. I \%html
mode.
.\}
.
Print the result to standard output.
.
.
.P
There are more of these programs for generating other formats of
.I \%roff
input.
.
.if !'html'dvi' \{\
. TP
. BR \%roff2dvi (1)
is for
. I dvi
mode.
.\}
.
.if !'html'html' \{\
. TP
. BR \%roff2html (1)
generates
. I HTML
output.
.\}
.
.if !'html'pdf' \{\
. TP
. BR \%roff2pdf (1)
outputs
. I pdf
mode.
.\}
.
.if !'html'ps' \{\
. TP
. BR \%roff2ps (1)
prints
. I \%PostScript
format to standard output.
.\}
.
.if !'html'text' \{\
. TP
. BR \%roff2text (1)
generates text output in the
. B groff
device
. IR latin1 .
.\}
.
.if !'html'x' \{\
. TP
. BR \%roff2x (1)
prints the output in the
. B groff
device
. B X
that is suitable for programs like
. BR \%gxditview (1)
or
. BR \%xditview (1).
.\}
.
.
.\" ====================================================================
.SH AUTHORS
.\" ====================================================================
.B roff2html
was written by
.MT groff\-bernd.warken\-72@\:web.de
Bernd Warken
.ME .
.
.
.\" ====================================================================
.SH "SEE ALSO"
.\" ====================================================================
.
.BR \%groff (1),
.BR \%groffer (1),
.if !'html'dvi' \
. BR \%roff2dvi (1),
.if !'html'html' \
. BR \%roff2html (1),
.if !'html'pdf' \
. BR \%roff2pdf (1),
.if !'html'ps' \
. BR \%roff2ps (1),
.if !'html'text' \
. BR \%roff2text (1),
.if !'html'x' \
. BR \%roff2x (1),
.BR \%gxditview (1).
.
.
.\" ====================================================================
.\" Emacs settings
.\" ====================================================================
.
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" vim: set filetype=groff: