Convert MAN to TEI

Turn MAN files into TEI. A TEI document with sections, lists, tables, links and footnotes; the title, author and date go into its TEI header.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A man page as a TEI document.Sections, lists, tables, links and footnotes come across, with the title, author and date in the TEI header.

  1. What you get

    One TEI file with a header that holds the title, the author and the date of the page. The body follows the structure of the man page.

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

  2. What it leaves behind

    The section number is dropped, and so are the header and footer fields of the page.

    Pages written in the BSD mdoc macros keep only their running text. Anything else in an mdoc page is not carried over.

  3. Where to go next

    For other conversions from this format, see every MAN conversion. For other conversions to TEI, see every TEI conversion.

MAN and TEI.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 · TEI

TEI XML

Text Encoding Initiative XML, the format scholarly editions and digital humanities archives keep texts in.

Extensions
.tei
MIME type
application/tei+xml
Kind
Text and data

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

terminal
$ cv convert report.man report.tei
$ cv convert report.man report.tei

Questions.What people ask about MAN to TEI.

01OF 04

The title, the author and the date of the man page go into the TEI header.

They become definition lists in the TEI file.

No. The section number is dropped, along with the header and footer fields.

Only its running text is kept. Pages written in the BSD mdoc macros do not keep their other content.

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