Annotation of mandoc/index.sgml, Revision 1.19
1.1 kristaps 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2: <html>
3: <head>
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>
8: </head>
9: <body>
10: <table width="600">
11: <col width="100%">
12: <tbody>
13: <tr>
14: <td>
15: <div class="head">
16: <b>mdocml</b> – mdoc macro compiler
17: </div>
18: </td>
19: </tr>
20: <tr>
21: <td valign="top">
22: <h1>
23: DESCRIPTION
24: </h1>
25:
26: <p>
1.16 kristaps 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
1.18 kristaps 31: displaying -mdoc pages whilst providing token support for -man.
1.9 kristaps 32: </p>
33:
34: <p>
1.13 kristaps 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).
1.1 kristaps 38: </p>
39:
40: <p>
1.19 ! kristaps 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.
1.1 kristaps 45: </p>
46: </td>
47: </tr>
48: <tr>
49: <td>
50: <h1>
51: INSTALLING SOURCES
52: </h1>
53:
1.2 kristaps 54: <p>
1.13 kristaps 55: Sources correctly build and install on FreeBSD, OpenBSD, NetBSD and Linux operating systems, tested
1.18 kristaps 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>.
1.7 kristaps 58: </p>
59:
1.1 kristaps 60: <h2>
1.9 kristaps 61: Snapshot source
1.1 kristaps 62: </h2>
63:
64: <p>
1.18 kristaps 65: CVS sources are checkedout and snapshotted with version updates. These (and all historical snapshots)
66: may be found in the <a href="/snapshots/">/snapshots/</a> directory. A full <a
67: href="/snapshots/ChangeLog">ChangeLog</a> is written with each new snapshot.
1.1 kristaps 68: </p>
69:
70: <p class="boxed">
71: % cd /tmp<br>
1.16 kristaps 72: % ftp -V -o- <a href="http://mdocml.bsd.lv/snapshots/mdocml.tar.gz">
73: http://mdocml.bsd.lv/snapshots/mdocml.tar.gz</a> | tar -zvxf -<br>
1.1 kristaps 74: % cd mdocml<br>
1.6 kristaps 75: % make all<br>
76: # make install
1.1 kristaps 77: </p>
78:
79: <h2>
1.10 kristaps 80: Snapshot port/pkgsrc
1.1 kristaps 81: </h2>
82:
83: <p>
1.12 kristaps 84: The source snapshot is automatically converted into OpenBSD, NetBSD and FreeBSD ports at <a
85: href="/ports-openbsd/">/ports-openbsd/</a>, <a href="/ports-netbsd/">/ports-netbsd/</a> and <a
1.14 kristaps 86: href="/ports-freebsd/">/ports-freebsd/</a>, respectively. Please read the <a class="external"
87: href="http://www.openbsd.org/faq/faq15.html">OpenBSD Ports FAQ</a>, the <a class="external"
88: href="http://www.netbsd.org/docs/software/packages.html">NetBSD pkgsrc guide</a> or the <a
89: class="external"
90: href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html">FreeBSD ports
91: guide</a>, first.
1.1 kristaps 92: </p>
93:
1.10 kristaps 94: <h3>
95: OpenBSD port
96: </h3>
97:
1.1 kristaps 98: <p class="boxed">
1.6 kristaps 99: # pkg_delete mdocml<br>
1.11 kristaps 100: # cd /usr/ports/textproc/<br>
1.6 kristaps 101: # rm -rf mdocml<br>
1.16 kristaps 102: # ftp -V -o- <a href="http://mdocml.bsd.lv/ports-openbsd/mdocml.tar.gz">
103: http://mdocml.bsd.lv/ports-openbsd/mdocml.tar.gz</a> | tar -zvxf -<br>
1.6 kristaps 104: # cd mdocml<br>
105: # make build<br>
1.10 kristaps 106: # make install
107: </p>
108:
109: <h3>
110: NetBSD pkgsrc
111: </h3>
112:
113: <p class="boxed">
114: # pkg_delete mdocml<br>
1.11 kristaps 115: # cd /usr/pkgsrc/textproc/<br>
1.10 kristaps 116: # rm -rf mdocml<br>
1.16 kristaps 117: # ftp -V -o- <a href="http://mdocml.bsd.lv/ports-netbsd/mdocml.tar.gz">
118: http://mdocml.bsd.lv/ports-netbsd/mdocml.tar.gz</a> | tar -zvxf -<br>
1.10 kristaps 119: # cd mdocml<br>
120: # make build<br>
1.6 kristaps 121: # make install
1.1 kristaps 122: </p>
1.12 kristaps 123:
124: <h3>
125: FreeBSD port
126: </h3>
127:
128: <p class="boxed">
1.15 kristaps 129: # pkg_delete -x mdocml<br>
130: # cd /tmp<br>
1.16 kristaps 131: # ftp -V -o- <a href="http://mdocml.bsd.lv/ports-freebsd/mdocml.tar.gz">
132: http://mdocml.bsd.lv/ports-freebsd/mdocml.tar.gz</a> | tar -zvxf -<br>
1.12 kristaps 133: # cd mdocml<br>
1.15 kristaps 134: # make<br>
1.12 kristaps 135: # make install
136: </p>
1.1 kristaps 137: </td>
138: </tr>
139: <tr>
140: <td>
141: <h1>
1.18 kristaps 142: DOCUMENTATION
143: </h1>
144:
145: <table width="100%">
146: <colgroup>
147: <col>
148: <col width="5">
149: <col width="100%">
150: </colgroup>
151: <tr>
152: <td><a href="mandoc.1.txt">mandoc(1)</a></td>
153: <td></td>
154: <td>format and display UNIX manuals</td>
155: </tr>
156: <tr>
157: <td><a href="mandoc_char.7.txt">mandoc_char(7)</a></td>
158: <td></td>
159: <td>mandoc special characters</td>
160: </tr>
161: <tr>
162: <td><a href="mdoc.7.txt">mdoc(7)</a></td>
163: <td></td>
164: <td>mdoc language reference</td>
165: </tr>
166: <tr>
167: <td><a href="man.7.txt">man(7)</a></td>
168: <td></td>
169: <td>man language reference</td>
170: </tr>
171: <tr>
172: <td><a href="manuals.7.txt">manuals(7)</a></td>
173: <td></td>
174: <td>a guide to writing UNIX manuals</td>
175: </tr>
176: <tr>
177: <td><a href="mdoc.3.txt">mdoc(3)</a></td>
178: <td></td>
179: <td>mdoc macro compiler library</td>
180: </tr>
181: <tr>
182: <td><a href="man.3.txt">man(3)</a></td>
183: <td></td>
184: <td>man macro compiler library</td>
185: </tr>
186: </table>
187: </td>
188: </tr>
189: <tr>
190: <td>
191: <h1>
1.1 kristaps 192: CONTACT
193: </h1>
194:
195: <p>
1.18 kristaps 196: For all issues related to <span class="nm">mdocml</span>, contact Kristaps, kris<a class="external"
1.1 kristaps 197: href="http://mailhide.recaptcha.net/d?k=01jt88xIsFONwVjHZmGpc4AQ==&c=sb5E6ulipc-eTnpTVqI-BQ=="
198: onclick="window.open('http://mailhide.recaptcha.net/d?k=01jt88xIsFONwVjHZmGpc4AQ==&c=sb5E6ulipc-eTnpTVqI-BQ==',
199: '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return
1.18 kristaps 200: false;" title="Reveal this e-mail address">...</a>@kth.se.
1.1 kristaps 201: </p>
1.18 kristaps 202:
203: <p>
204: If you want to receive a semi-automated mail-out of new versions, then please write with a message
205: subject of “subscribe mdocml” (or, symmetrically, “unsubscribe mdocml”).
206: </p>
207:
1.1 kristaps 208: <p>
1.19 ! kristaps 209: We don'yet offer anonymous CVS access. If you must have read-only access to the CVS tree (for
1.18 kristaps 210: down-stream maintenance and so on), then please contact Kristaps directly for a read-only CVS account.
211: We strongly suggest using snapshots, instead.
1.1 kristaps 212: </p>
213: </td>
214: </tr>
215: <tr>
216: <td>
217: <div class="foot">
1.19 ! kristaps 218: Copyright © 2008, 2009 Kristaps Džonsons, $Date: 2009/06/13 13:02:53 $
1.1 kristaps 219: </div>
220: </td>
221: </tr>
222: </tbody>
223: </table>
224: </body>
225: </html>
CVSweb