From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-4.sys.kth.se (smtp-4.sys.kth.se [130.237.48.193]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s33C2iRJ005151 for ; Thu, 3 Apr 2014 08:02:45 -0400 (EDT) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-4.sys.kth.se (Postfix) with ESMTP id E4CA2D41 for ; Thu, 3 Apr 2014 14:02:43 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-4.sys.kth.se ([130.237.48.193]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id 6W6iyn7qGQW0 for ; Thu, 3 Apr 2014 14:02:43 +0200 (CEST) X-KTH-Auth: kristaps [85.3.59.60] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: discuss@mdocml.bsd.lv Received: from [192.168.1.105] (60-59.3-85.cust.bluewin.ch [85.3.59.60]) by smtp-4.sys.kth.se (Postfix) with ESMTPSA id 0D070E5 for ; Thu, 3 Apr 2014 14:02:42 +0200 (CEST) Message-ID: <533D4DE1.4030304@bsd.lv> Date: Thu, 03 Apr 2014 14:02:41 +0200 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: discuss@mdocml.bsd.lv Subject: Re: pod2mdoc, docbook2mdoc References: <53386109.9000504@bsd.lv> <20140331090912.GW26456@danbala.tuwien.ac.at> <533943B9.5080901@bsd.lv> <20140331161315.GC31866@iris.usta.de> <5339C49A.7020502@bsd.lv> <20140331205736.GJ31866@iris.usta.de> <20140331213020.GD29643@danbala.tuwien.ac.at> <5339E423.9010007@bsd.lv> <20140331222118.GB15415@iris.usta.de> <20140331223147.GA17640@danbala.tuwien.ac.at> In-Reply-To: <20140331223147.GA17640@danbala.tuwien.ac.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >> Oh, indeed, the NetBSD base system does not contain Perl, right? >> So you can't easily run pod2man(1) during the build? >> I didn't think about that because in OpenBSD, we do just that... > > Yes, that's right. > After import, pod2man is run manually once. > I'm not very happy about the output and expect better from Kristaps :) Thomas, I suggest you check out the latest version... run as: pod2mdoc foo.pm | mandoc The output is much nicer than pod2man in the same way. Lots more semantic content as mentioned in the "Smarts" subsection of the manual. Most visibly, since the SYNOPSIS is now rendered with Nm, Oo/Oc, Ar, and Fl, mandoc can properly format sections. I specifically used the SSL manpages and Perl distribution as a basis. Best, Kristaps -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv