[BACK]Return to texi2mdoc.1 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / texi2mdoc

File: [cvsweb.bsd.lv] / texi2mdoc / texi2mdoc.1 (download)

Revision 1.3, Fri Feb 20 09:58:50 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.2: +3 -3 lines

Split utility functions out of main.c.

.\"	$Id: texi2mdoc.1,v 1.3 2015/02/20 09:58:50 kristaps Exp $
.\"
.\" Copyright (c) 2015 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: February 20 2015 $
.Dt TEXI2MDOC 1
.Os
.Sh NAME
.Nm texi2mdoc
.Nd convert texinfo documents to mdoc
.Sh SYNOPSIS
.Nm texi2mdoc
.Op Fl I Ar dirs
.Ar file
.Sh DESCRIPTION
The
.Nm
utility converts
.%B GNU Texinfo
documents to
.Xr mdoc 7
mixed with
.Xr tbl 7
.Pq if applicable .
Its arguments are as follows:
.Bl -tag -width Ds
.It Fl I Ar dirs
Colon-separated directories to search for
.Li @include
files.
.El
.Pp
.Nm
can understand a significant subset of the texinfo language.
It recognises itself as a
.Em plaintext
formatter.
The produced document's title is set to the
.Ar file
filename and the description is set to the
.Li @settitle
command's contents.
.\" .Sh CONTEXT
.\" For section 9 functions only.
.\" .Sh IMPLEMENTATION NOTES
.\" Not used in OpenBSD.
.\" .Sh RETURN VALUES
.\" For sections 2, 3, and 9 function return values only.
.\" .Sh ENVIRONMENT
.\" For sections 1, 6, 7, and 8 only.
.\" .Sh FILES
.Sh EXIT STATUS
.Ex -std
.\" .Sh EXAMPLES
.\" .Sh DIAGNOSTICS
.\" For sections 1, 4, 6, 7, 8, and 9 printf/stderr messages only.
.\" .Sh ERRORS
.\" For sections 2, 3, 4, and 9 errno settings only.
.Sh SEE ALSO
.Xr mdoc 7 ,
.Xr tbl 7
.Rs
.%B GNU Texinfo
.%U http://www.gnu.org/software/texinfo/manual/texinfo
.Re
.\" .Xr foobar 1
.\" .Sh STANDARDS
.\" .Sh HISTORY
.Sh AUTHORS
The
.Nm
utility was written by
.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv .
.\" .Sh CAVEATS
.\" .Sh BUGS
.\" .Sh SECURITY CONSIDERATIONS
.\" Not used in OpenBSD.