Convert MDOC to MS

Turn MDOC files into MS. A groff ms document with headings, lists, tables and footnotes; link addresses are dropped, and groff prints it with -ms -t -e.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A manual page ready for groff.Headings, lists, tables and footnotes arrive in the ms macros.

  1. What you get

    One MS file that groff prints with -ms -t -e. Sections become headings, and tag lists become definition lists.

    Flags, arguments and command names are set as code. Column lists become tables whose first row is not a header.

  2. What changes

    Macros such as .Ex -std stand for whole sentences in a manual page. Those sentences are written out in the MS file.

    The section number is dropped. Link addresses are dropped as well.

MDOC and MS.What each format is.

The formats

From · MDOC

BSD mdoc Manual

Manual pages written in the semantic mdoc macros of BSD systems and macOS.

Extensions
.mdoc
MIME type
text/x-mdoc
Kind
Text and data
To · MS

groff ms

Documents in the ms macros of troff and groff, which print papers and reports with groff -ms.

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

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

terminal
$ cv convert report.mdoc report.ms
$ cv convert report.mdoc report.ms

Questions.What people ask about MDOC to MS.

01OF 04

Run groff with -ms -t -e on the MS file.

No. Column lists become tables whose first row is not a header.

The sentence it stands for is written out in full.

No. The section number is dropped.

More conversions.Other ways in and out of MDOC and MS.