version 1.11, 2015/02/25 10:01:54 |
version 1.16, 2018/11/13 08:45:29 |
|
|
.Nd convert texinfo documents to mdoc |
.Nd convert texinfo documents to mdoc |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm texi2mdoc |
.Nm texi2mdoc |
|
.Op Fl C Ar dir |
|
.Op Fl d Ar date |
.Op Fl I Ar dirs |
.Op Fl I Ar dirs |
.Op Ar file |
.Op Ar file |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
|
|
reads from standard input. |
reads from standard input. |
Its arguments are as follows: |
Its arguments are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl C Ar prefix |
|
Instead of producing a single document, break apart the input into |
|
node-level documents placed within |
|
.Ar dir , |
|
which must exist. |
|
These are created as |
|
.Pa prefix-NNN.7 . |
|
.It Fl d Ar date |
|
Set the output document date in the |
|
.Ic \&Dd |
|
macro to |
|
.Ar date , |
|
to be specified in the format |
|
.Dq Ar Month Day , Year . |
|
If unspecified, |
|
.Nm |
|
uses the file modification date |
|
or the current date when reading from standard input. |
.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 |
Line 108 The comma in Texinfo macro arguments may at times be e |
|
Line 128 The comma in Texinfo macro arguments may at times be e |
|
This is |
This is |
.Em not |
.Em not |
supported. |
supported. |
.Sh BUGS |
.\" .Sh BUGS |
Macros in |
|
.Nm |
|
are assumed to be self-contained (with matching block and respective |
|
.Li @end |
|
pairs). |
|
In Texinfo, they aren't: they're considered as if typed in place. |
|
.Sh SECURITY CONSIDERATIONS |
.Sh SECURITY CONSIDERATIONS |
As a security precaution, |
As a security precaution, |
.Nm |
.Nm |