From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id a644c0df; for ; Tue, 19 May 2015 15:11:10 -0500 (EST) Date: Tue, 19 May 2015 15:11:10 -0500 (EST) Message-Id: <2366029467117808001.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: pod2mdoc: add some missing smarts X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- add some missing smarts Modified Files: -------------- pod2mdoc: pod2mdoc.1 Revision Data ------------- Index: pod2mdoc.1 =================================================================== RCS file: /home/cvs/mdocml/pod2mdoc/pod2mdoc.1,v retrieving revision 1.17 retrieving revision 1.18 diff -Lpod2mdoc.1 -Lpod2mdoc.1 -u -p -r1.17 -r1.18 --- pod2mdoc.1 +++ pod2mdoc.1 @@ -125,6 +125,12 @@ Other lines starting with are rendered with .Sq \&Fd . .It +Function declarations are rendered with +.Sq \&Ft , +.Sq \&Fo , +and +.Sq \&Fa . +.It An initial .Li B<> format code is rendered as @@ -215,9 +221,18 @@ Words followed by .Qq Pq that match function names listed in the SYNOPSIS section are marked up with .Sq \&Fn . +If they don't match, they are marked up with +.Sq \&Xr . +Words not followed by +.Qq Pq +that match preprocessor macros #define'd in the SYNOPSIS section +are marked up with +.Sq \&Dv . .Pp If the contents of a .Li B<> +or +.Li I<> format code matches a type name mentioned in the SYNOPSIS section, it is rendered as .Sq \&Vt . -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv