General Commands Manual
NAME texi2mdoc — convert texinfo documents to mdoc
[-I dirs] [file]
utility converts GNU Texinfo
documents to mdoc(7)
mixed with tbl(7)
(if applicable). By default, texi2mdoc
reads from standard input. Its arguments are as follows:
Colon-separated directories to search for
A Texinfo input file. If specified, the directory of file is prepended to the list of -I directories.
can understand a significant subset of the texinfo language. It recognises itself as a plaintext
formatter. The produced document's title is set to the file
filename and the description is set to the
EXIT STATUS The texi2mdoc utility exits 0 on success, and >0 if an error occurs.
The output consists of superfluous ‘Pp’ that cause
% mandoc -Tlint
Many commands that might contain useful information (such as
) are thrown away.
The comma in Texinfo macro arguments may at times be escaped with a backslash. This is not
SECURITY CONSIDERATIONS As a security precaution, texi2mdoc does not allow the inclusion (via
@verbatiminclude) of absolute paths or paths with
.. as directory components.