.ig
roff2html.1 - man page for roff2html (section 1).
Source file position: /contrib/groffer/roff2.man
Installed position: $prefix/share/man/man1/roff2html.1
Last update: 5 Jan 2009
Simplified to use .SY/.OP/.YS
..
.
.
.de au
This file was written by Bernd Warken .
..
.
.
.de co
Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc.
.
.P
This file is part of
.IR \%groffer ,
which is part of
.IR \%groff ,
a free software project.
.
You can redistribute it and/or modify it under the terms of the
.nh
.B "GNU General Public License"
.hy
as published by the
.nh
.BR "Free Software Foundation" ,
.hy
either version\~2, or (at your option) any later version.
.
.P
You should have received a copy of the \f[CR]GNU General Public
License\f[] along with
.IR groff ,
see the files \%\f[CB]COPYING\f[] and \%\f[CB]LICENSE\f[] in the top
directory of the
.I groff
source package.
.
Or read the
.I man\~page
.BR gpl (1).
You can also write to the
.nh
.B "Free Software Foundation, 51 Franklin St - Fifth Floor, Boston,"
.BR "MA 02110-1301, USA" .
.hy
..
.
.
.TH roff2html 1 "04 September 2014" "Groff Version 1.22.2"
.SH NAME
roff2html \- transform roff code into html mode
.
.
.\" --------------------------------------------------------------------
.SH "SYNOPSIS"
.
.SY roff2html
.RI [ \%groffer_option .\|.\|.\&]
.OP \-\-
.RI [ \%filespec .\|.\|.\&]
.
.SY roff2html
.B \-h
|
.B \-\-help
.
.SY roff2html
.B \-v
|
.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 "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).
.
.
.\" --------------------------------------------------------------------
.SH "AUTHOR"
.\" --------------------------------------------------------------------
.au
.
.
.\" --------------------------------------------------------------------
.SH "COPYING"
.\" --------------------------------------------------------------------
.co
.
.
.\" --------------------------------------------------------------------
.\" Emacs settings
.\" --------------------------------------------------------------------
.
.\" Local Variables:
.\" mode: nroff
.\" End: