Convert MDOC to DOCBOOK
Turn MDOC files into DOCBOOK. A DocBook 5 article with sections, lists, tables, links and footnotes.
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 DocBook 5 article from an mdoc page.Sections, lists, tables, links and footnotes carry over as DocBook.
What you get
One DocBook 5 article. Sections become headings, and tag lists become definition lists.
Flags, arguments and command names are marked as code. Column lists become tables, and their first row is not treated as a header.
What is written out
Some macros stand for whole sentences. The sentences that macros such as .Ex -std stand for are written out in the article as text.
What is dropped
The section number is dropped.
MDOC and DOCBOOK.What each format is.
The formats
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
DocBook
DocBook XML, the structured format of technical books and manuals.
- Extensions
- .dbk .docbook
- MIME type
- application
/docbook +xml - Kind
- Text and data
In your code.The same MDOC to DOCBOOK conversion through the API, for your app or your agent.
$ cv convert report.mdoc report.dbk$ cv convert report.mdoc report.dbkQuestions.What people ask about MDOC to DOCBOOK.
A DocBook 5 article with sections, lists, tables, links and footnotes. The conversion gives you one file.
Tag lists become definition lists in the DocBook article.
No. Column lists become tables whose first row is not a header.
The sentence the macro stands for is written out in the article.