1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <meta name="resource-type" content="document">
6 <link rel="stylesheet" href="style.css" type="text/css" media="all">
7 <title>mdocml.bsd.lv</title>
16 <b>mdocml</b> – mdoc macro compiler
27 <span class="nm">mdocml</span> is a suite of tools compiling “-mdoc”, the roff macro package
28 of choice for BSD manual pages, and “-man”, the predominant historical package for UNIX
29 manuals. The mission of <span class="nm">mdocml</span> is to deprecate <a
30 href="http://www.gnu.org/software/groff/" class="external">groff</a>, the GNU roff implementation, for
31 displaying -mdoc pages whilst providing token support for -man.
35 Why? groff amounts to over 5 MB of source code, most of which is C++ and all of which is GPL. It runs
36 slowly, produces uncertain output, and varies in operation from system to system. mdocml strives to fix
37 this (respectively small, C, ISC-licensed, fast and regular).
41 The core of <span class="nm">mdocml</span> is composed of the <i>libmdoc</i> and <i>libman</i>
42 validating compiler libraries. Both are simple, fast libraries operating on memory buffers, so they may
43 be used for a variety of front-ends (terminal-based, CGI and so on). The primary front-end is <i>
44 mandoc</i>, which formats manuals for display on the terminal.
55 Sources correctly build and install on FreeBSD, OpenBSD, NetBSD and Linux operating systems, tested
56 variously on i386, AMD64, alpha and others. The most current version is <span
57 class="attn">@VERSION@</span>, dated <span class="attn">@VDATE@</span>. A full <a
58 href="/snapshots/ChangeLog">ChangeLog</a> is written with each new version.
65 <table width="100%" style="padding-left: 10px;">
70 <td>FreeBSD (ports)</td>
72 <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/textproc/mdocml/"
73 class="external">/textproc/mandoc</a>
77 <td>NetBSD (pkgsrc)</td>
79 <a href="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/mdocml/"
80 class="external">/textproc/mandoc</a>
84 <td>OpenBSD (base system)</td>
86 <a href="http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/mandoc/"
87 class="external">/usr.bin/mandoc</a>
97 <table width="100%" style="padding-left: 10px;">
102 <td>Source archive</td>
104 <a href="http://mdocml.bsd.lv/snapshots/mdocml.tar.gz">/snapshots/mdocml.tar.gz</a>
105 (<a href="http://mdocml.bsd.lv/snapshots/mdocml.md5">md5</a>)
109 <td>OpenBSD port</td>
111 <a href="http://mdocml.bsd.lv/ports-openbsd/mdocml.tar.gz">/ports-openbsd/mdocml.tar.gz</a>
112 (<a href="http://mdocml.bsd.lv/ports-openbsd/mdocml.md5">md5</a>)
116 <td>FreeBSD port</td>
118 <a href="http://mdocml.bsd.lv/ports-freebsd/mdocml.tar.gz">/ports-freebsd/mdocml.tar.gz</a>
119 (<a href="http://mdocml.bsd.lv/snapshots/mdocml.md5">md5</a>)
123 <td>NetBSD pkgsrc</td>
125 <a href="http://mdocml.bsd.lv/ports-netbsd/mdocml.tar.gz">/ports-netbsd/mdocml.tar.gz</a>
126 (<a href="http://mdocml.bsd.lv/snapshots/mdocml.md5">md5</a>)
136 <table width="100%" style="padding-left: 10px;">
141 <td>Source archive</td>
143 <a href="http://mdocml.bsd.lv/snapshots/">/snapshots/</a>
147 <td>OpenBSD port</td>
149 <a href="http://mdocml.bsd.lv/ports-openbsd/">/ports-openbsd/</a>
153 <td>FreeBSD port</td>
155 <a href="http://mdocml.bsd.lv/ports-freebsd/">/ports-freebsd/</a>
159 <td>NetBSD pkgsrc</td>
161 <a href="http://mdocml.bsd.lv/ports-netbsd/">/ports-netbsd/</a>
174 <table width="100%" style="padding-left: 10px;">
179 <td><a href="mandoc.1.txt">mandoc(1)</a></td>
180 <td>format and display UNIX manuals</td>
183 <td><a href="mandoc_char.7.txt">mandoc_char(7)</a></td>
184 <td>mandoc special characters</td>
187 <td><a href="mdoc.7.txt">mdoc(7)</a></td>
188 <td>mdoc language reference</td>
191 <td><a href="man.7.txt">man(7)</a></td>
192 <td>man language reference</td>
195 <td><a href="manuals.7.txt">manuals(7)</a></td>
196 <td>a guide to writing UNIX manuals</td>
199 <td><a href="mdoc.3.txt">mdoc(3)</a></td>
200 <td>mdoc macro compiler library</td>
203 <td><a href="man.3.txt">man(3)</a></td>
204 <td>man macro compiler library</td>
217 For all issues related to <span class="nm">mdocml</span>, contact Kristaps Džonsons, kris<a
219 href="http://mailhide.recaptcha.net/d?k=01jt88xIsFONwVjHZmGpc4AQ==&c=sb5E6ulipc-eTnpTVqI-BQ=="
220 onclick="window.open('http://mailhide.recaptcha.net/d?k=01jt88xIsFONwVjHZmGpc4AQ==&c=sb5E6ulipc-eTnpTVqI-BQ==',
221 '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return
222 false;" title="Reveal this e-mail address">...</a>@kth.se.
226 If you want to receive a semi-automated mail-out of new versions, then please write with a message
227 subject of <i>subscribe mdocml</i> (or <i>unsubscribe mdocml</i>).
234 Copyright © 2008, 2009 Kristaps Džonsons, $Date: 2009/06/25 08:42:06 $