File: [cvsweb.bsd.lv] / pod2mdoc / index.xml (download)
Revision 1.8, Thu Mar 19 09:59:01 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.7: +2 -2 lines
zap trailing whitespace; verified with diff -b;
patch from Svyatoslav Mishyn <juef at openmailbox dot org>
|
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta charset='utf-8' />
<title>pod2mdoc | Convert POD data to mdoc input </title>
<style>
html, body { margin: 0; padding: 0; }
header { margin-top: 1em; }
header span.nm { font-size: 16pt; }
header span.nd { font-size: 14pt; }
article span.nm, article a.nm { font-style: italic; }
header, article, footer { width: 80%; margin-left: auto; margin-right: auto; }
body { color: #333; font-family: Times,serif; line-height: 120%; }
nav { color: #666; margin-top: 0.5ex; }
nav span { border-left: thin solid silver; margin-left: 0.25ex; padding-left: 0.5ex; }
nav span:first-child { border: 0; padding: 0; margin: 0; }
a { text-decoration: none; }
footer { margin-top: 1em; font-size: smaller; color: #666; }
footer a { color: #000; }
h2 { font-size: larger; font-weight: bolder; color: #333; }
</style>
</head>
<body>
<header>
<span class="nm">pod2mdoc</span>
—
<span class="nd">Convert POD data to mdoc input</span>
<nav>
<span>version <span>@VERSION@</span></span>
<span><a href="snapshots/pod2mdoc.tgz">Sources</a></span>
<span><a href="snapshots">Archives</a></span>
</nav>
</header>
<article>
<p>
The <span class="nm">pod2mdoc</span> utility is a converter from <a
href="http://perldoc.perl.org/perlpod.html">POD</a> into <a
href="http://www.openbsd.org/cgi-bin/man.cgi?query=mdoc&sec=7">mdoc</a>.
It's meant to operate like <a class="nm" href="http://perldoc.perl.org/pod2man.html">pod2man</a>; however, it
doesn't require a <a href="http://www.perl.org/">Perl</a> installation: <span class="nm">pod2mdoc</span> is a
standalone <a rel="license"
href="https://www.isc.org/downloads/software-support-policy/isc-license/">ISC</a>-licensed ISO C utility
and should compile on any modern UNIX system.
</p>
<p>
Be aware, as stated in the <a href="pod2mdoc.1.html">manual</a>:
</p>
<blockquote>
By way of being a presentational language, POD is not well-represented
by mdoc(7).
Semantic content must be inferred and may be wrong.
</blockquote>
<p>
The <span class="nm">pod2mdoc</span> utility is still in an early stage of development and far from complete.
However, when translating the <a href="http://www.libressl.org/">LibreSSL</a> <code>-lssl</code> manuals,
it has been shown that with some manual postprocessing, it is already usable for real-world tasks.
</p>
<p>
Contact the <a href="http://mdocml.bsd.lv/contact.html">mandoc developers</a> with questions,
but please make sure any formatting issue
hasn't already been covered in the <a href="pod2mdoc.1.html">manual</a>.
</p>
<p>
In addition to the release notes given below, a full <a href="ChangeLog">ChangeLog</a> is available.
</p>
<h2>
New in version 0.1 (November 17, 2014)
</h2>
<p>
Simple <code>Ft/Fo/Fa/Fc</code> parser and formatter for the SYNOPSIS.
</p>
<h2>
New in version 0.0.13 (July 19, 2014)
</h2>
<p>
Proper translation of POD commands
and formatting codes into mdoc macros,
including correct whitespace handling.
Only capital ASCII letters A-Z
can start a formatting code.
Do not skip the content of invalid
formatting codes.
Improved handling of filename extensions.
</p>
<h2>
New in version 0.0.12 (July 11, 2014)
</h2>
<p>
Render <code>B<NULL></code> as <code>.Dv NULL</code>.
Correctly check the number of arguments.
Show the usage() message if there are too many arguments.
Mention the optional "file" argument in the usage() message.
</p>
<h2>
New in version 0.0.11 (April 7, 2014)
</h2>
<p>
Properly render <code>#include</code> in the SYNOPSIS with <code>In</code>.
Handle nested escape codes in <code>L<></code> links (and ignore them).
Properly consume whitespace following <code>X<></code> and <code>N<></code>.
</p>
</article>
<footer>
© 2014 <a href="http://kristaps.bsd.lv">Kristaps Dzonsons</a> and Ingo Schwarze,
$Date: 2015/03/19 09:59:01 $
</footer>
</body>
</html>