Convert MDOC to ICML

Turn MDOC files into ICML. An InDesign ICML story with headings, lists, tables, links and footnotes, every element in a paragraph or character style named after it so a layout can restyle it.

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 as an InDesign story.Headings, lists, tables and links arrive as ICML, each in a named style.

  1. What you get

    One ICML story file. Every element sits in a paragraph or character style named after it, so a layout can restyle it in InDesign.

    Sections become headings. Tag lists become definition lists. Flags, arguments and command names are marked as code. Links and footnotes are kept.

  2. Tables and written-out text

    Column lists become tables. The first row of each table is not a header row.

    Some macros stand for whole sentences, such as .Ex -std. Those sentences are written out in the story, so the text is there without the macro.

  3. What it leaves behind

    The title, the section number and the date are dropped. If you need them in the layout, add them in InDesign.

    Other conversions are listed under every MDOC conversion and every ICML conversion.

MDOC and ICML.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 · ICML

InDesign ICML

InCopy Markup Language, the story file that InDesign places into a layout with its paragraph and character styles.

Extensions
.icml
MIME type
application/vnd.adobe.incopy-icml+xml
Kind
Text and data

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

terminal
$ cv convert report.mdoc report.icml
$ cv convert report.mdoc report.icml

Questions.What people ask about MDOC to ICML.

01OF 04

Yes. Every element is in a paragraph or character style named after it, so a layout can restyle it.

Yes. Flags, arguments and command names are written as code.

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

No. The title, the section number and the date are dropped.

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