Convert MAN to RST

Turn MAN files into reStructuredText. A reStructuredText document with headings, lists, tables, links and footnotes.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MAN files on the dialor turn it to pick what to do

Man pages as reStructuredText.Sections become headings, and tagged paragraphs become definition lists.

  1. What you get

    One reStructuredText document built from the man page. It has headings, lists, tables, links and footnotes.

    Sections become headings. Tagged paragraphs become definition lists. Bold and italic fonts, examples and tables are kept.

  2. What it leaves behind

    The section number and the header and footer fields are dropped. They do not appear in the RST file.

    Pages written in the BSD mdoc macros keep only their running text.

  3. Going the other way

    To turn RST back into a man page, use RST to MAN.

MAN and RST.What each format is.

The formats

From · MAN

Man Page

Unix manual pages in troff.

Extensions
.man
MIME type
text/troff
Kind
Text and data
To · RST

reStructuredText

reStructuredText, the markup of Python documentation and Sphinx.

Extensions
.rst
MIME type
text/x-rst
Kind
Text and data

In your code.The same MAN to RST conversion through the API, for your app or your agent.

terminal
$ cv convert report.man report.rst
$ cv convert report.man report.rst

Questions.What people ask about MAN to RST.

01OF 04

Yes. Bold and italic fonts are kept in the RST file.

It is dropped, along with the header and footer fields.

Only the running text is kept. The rest of the page is not carried over.

Yes. Examples and tables are kept in the RST file.

More conversions.Other ways in and out of MAN and RST.