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 s33GpVkd024370 for ; Thu, 3 Apr 2014 12:51:31 -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 E92E52363 for ; Thu, 3 Apr 2014 18:51:30 +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 BinXEVyG-0gV for ; Thu, 3 Apr 2014 18:51:30 +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 lappy.local (60-59.3-85.cust.bluewin.ch [85.3.59.60]) by smtp-4.sys.kth.se (Postfix) with ESMTPSA id 13959233A for ; Thu, 3 Apr 2014 18:51:28 +0200 (CEST) Message-ID: <533D9190.9000408@bsd.lv> Date: Thu, 03 Apr 2014 18:51:28 +0200 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; 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: <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> <533D4DE1.4030304@bsd.lv> <20140403121738.GA6386@danbala.tuwien.ac.at> <533D552E.1080407@bsd.lv> <20140403135302.GA22574@iris.usta.de> In-Reply-To: <20140403135302.GA22574@iris.usta.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >>> * .Bd -literal + #include + Ed -> .In foo > >> Yes, this is TODO for more Smarts. > > - *.pod only has a leading blank character. > - *.man has .Vb, see above, almost nothing. > - *.xml has: > > > #include <openssl/dsa.h> > > > > That's pathetic. It doesn't even remove the leading blank > and provides almost no semantics. So again, Thomas, you aim > well beyond the state of the art. That's already the second > case of an easy smart that doclifter fails to deliver. With this last commit, leading #include statements in SYNOPSIS verbatim paragraphs are rendered with In. Example: =head1 SYNOPSIS #include #include SSL *SSL_new(SSL_CTX *ctx); Now rendered as: .Sh SYNOPSIS .In openssl/ssl.h .In osdfpenssl/ssl.h .Bd -literal SSL *SSL_new(SSL_CTX *ctx); .Ed So state of the art! -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv