Convert MDOC to PDF
Turn MDOC files into PDF. Typeset on A4 pages unless page_size says letter as a document rather than a terminal manual, with the sections as headings, tag lists as definition lists, flags, arguments and command names as code, displays as code blocks and column lists as tables.
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 a typeset document.Sections become headings. Commands and flags come out as code.
What you get
One PDF that reads as a document, not as a terminal manual. The sections of the manual page become headings.
Tag lists become definition lists. Flags, arguments and command names are set as code, displays become code blocks, and column lists become tables.
Page size
Pages are A4 by default, which is 210 × 297 mm. Set Page size to Letter for 8.5 × 11 in pages, the standard in North America.
Set Page size to Auto and each page takes the size of its own content.
MDOC and PDF.What each format is, and the options this conversion takes.
- 01 · page_size
Page size
The size of the pages written. A4 is the standard in most of the world and Letter in North America.
a4210 × 297 mm.letter8.5 × 11 in.autoEach page takes the size of its own content.
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
Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.
- Extensions
- MIME type
- application
/pdf - Kind
- Documents
In your code.The same MDOC to PDF conversion through the API, for your app or your agent.
$ cv convert report.mdoc report.pdf$ cv convert report.mdoc report.pdfQuestions.What people ask about MDOC to PDF.
No. It is typeset as a document, with headings, definition lists, code blocks and tables in place of terminal formatting.
A4, unless you set Page size to Letter or Auto.
Flags, arguments and command names are set as code.
They become tables.