source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* pod2mdoc: add some missing smarts
@ 2015-05-19 20:11 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2015-05-19 20:11 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-19 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-19 20:11 pod2mdoc: add some missing smarts schwarze

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).