2 .Dd $Mdocdate: December 8 2008 $
8 .Nd compile mdoc macros into mark-up language
15 macros, such as those inheriting from
17 into XML or HTML documents. Unlike other similar utilities such as
22 is a full macro parser operating on source documents, specifically mdoc,
23 validating input and compiling to HTML and XML output types.
27 utility is tested specifically on
29 manual sources as compiled and invoked both on
37 In order to operate sanely,
39 fully validates its input. This includes, but is not limited to, the
44 valid special characters (such as
49 sane macro scope (such as
51 macros clobbering a pending
55 valid predefined characters (such as \\*(>= and \\*q),
57 correctly-ordered prelude and sections,
59 sane macro argument values (such as those for
64 valid manual sections and systems;
70 When a line of source has been parsed, it's passed to the output
71 filters, which format and display data. The two available filters are
74 The HTML filter has the following features:
78 HTML-4.01 strict compliance.
80 Proper render of values in UTF-8, such as
82 and \*(>= predefined values.
84 URI-appearing http://bsd.lv/ strings are correctly enclosed in link tags.
86 CSS-dictated style with meaningful non-CSS defaults.
89 The XML filter creates a correct XML tree with
95 namespaces corresponding to macro categories. Namespace identifiers
96 correspond to their definitions. A sample is available at
97 http://mdocml.bsd.lv/index.xml
103 at http://mdocml.bsd.lv/mdocml.tgz
105 .\" - UPDATE ME WITH EVERY RELEASE. ----------------------------------
106 The current version is 1.0.1, dated 08/12/2008.
107 .\" ------------------------------------------------------------------
109 Previous versions are archived as mdocml-x.y.z.tgz, with the appropriate
115 is available at http://mdocml.bsd.lv/mdocml.html
119 This page was produced as follows:
121 .D1 % mdocml -fhtml -W -e -o index.html index.7
125 .It Xr rman Ns : http://polyglotman.sourceforge.net/rman.html
126 Accepts either formatted roff output or source and produces HTML output.
127 .It Xr man2html Ns : http://www.nongnu.org/man2html/
130 text and produces HTML output.
131 .It Xr man.cgi Ns : http://www.freebsd.org/cgi/man.cgi/source
135 project CGI for producing HTML from nroff source.
141 utility was written by
142 .An Kristaps Dzonsons Aq kristaps@kth.se .