version 1.2, 2015/02/19 15:40:44 |
version 1.8, 2015/02/23 22:50:11 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm texi2mdoc |
.Nm texi2mdoc |
.Op Fl I Ar dirs |
.Op Fl I Ar dirs |
.Ar file |
.Op Ar file |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm |
.Nm |
|
|
mixed with |
mixed with |
.Xr tbl 7 |
.Xr tbl 7 |
.Pq if applicable . |
.Pq if applicable . |
|
By default, |
|
.Nm |
|
reads from standard input. |
Its arguments are as follows: |
Its arguments are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl I Ar dirs |
.It Fl I Ar dirs |
Colon-separated directories to search for |
Colon-separated directories to search for |
.Li @include |
.Li @include |
files. |
files. |
|
.It Ar file |
|
A Texinfo input file. |
|
If specified, the directory of |
|
.Ar file |
|
is prepended to the list of |
|
.Fl I |
|
directories. |
.El |
.El |
.Pp |
.Pp |
.Nm |
.Nm |
Line 69 command's contents. |
|
Line 79 command's contents. |
|
.\" .Sh ERRORS |
.\" .Sh ERRORS |
.\" For sections 2, 3, 4, and 9 errno settings only. |
.\" For sections 2, 3, 4, and 9 errno settings only. |
.Sh SEE ALSO |
.Sh SEE ALSO |
|
.Xr mdoc 7 , |
|
.Xr tbl 7 |
.Rs |
.Rs |
.%B GNU Texinfo |
.%B GNU Texinfo |
.%U http://www.gnu.org/software/texinfo/manual/texinfo |
.%U http://www.gnu.org/software/texinfo/manual/texinfo |
.Re |
.Re |
.Xr mdoc 7 , |
|
.Xr tbl 7 |
|
.\" .Xr foobar 1 |
.\" .Xr foobar 1 |
.\" .Sh STANDARDS |
.\" .Sh STANDARDS |
.\" .Sh HISTORY |
.\" .Sh HISTORY |
|
|
.Nm |
.Nm |
utility was written by |
utility was written by |
.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv . |
.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv . |
.\" .Sh CAVEATS |
.Sh CAVEATS |
|
The output of |
|
.Nm |
|
doesn't play entirely nicely with |
|
.Xr mdoc 7 . |
|
It doesn't detect whether a line trailing slash is properly escaped, nor |
|
does it properly account for how it mingles |
|
.Sq \&Pp |
|
with the text. |
|
Moreover, many commands that might contain useful information (such as |
|
.Li @footnote ) |
|
are thrown away. |
.\" .Sh BUGS |
.\" .Sh BUGS |
.\" .Sh SECURITY CONSIDERATIONS |
.Sh SECURITY CONSIDERATIONS |
|
As a security precaution, |
|
.Nm |
|
does not allow the inclusion (via |
|
.Li @include |
|
or |
|
.Li @verbatiminclude ) |
|
of absolute paths or paths with |
|
.Li \&.. |
|
as directory components. |
.\" Not used in OpenBSD. |
.\" Not used in OpenBSD. |