source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: pod2mdoc: add some missing smarts
Date: Tue, 19 May 2015 15:11:10 -0500 (EST)	[thread overview]
Message-ID: <2366029467117808001.enqueue@fantadrom.bsd.lv> (raw)

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

                 reply	other threads:[~2015-05-19 20:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2366029467117808001.enqueue@fantadrom.bsd.lv \
    --to=schwarze@mdocml.bsd.lv \
    --cc=source@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).