summaryrefslogtreecommitdiff
path: root/tmac/groff_mdoc.man
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-07-03 13:55:58 +0000
committerwlemb <wlemb>2003-07-03 13:55:58 +0000
commita344b42475b6763a4af5b1f376c2ce0895c22e13 (patch)
treea021ce0160c15208dae374c3a125423ba20e32b9 /tmac/groff_mdoc.man
parent8de0ac5646c673b8fdaf0f222f1ee7ee72be08f6 (diff)
downloadgroff-a344b42475b6763a4af5b1f376c2ce0895c22e13.tar.gz
* tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
after `/*' and `*/'. Fix spacing. (Fn, Fo): Reduce indentation in synopsis. * tmac/doc-common (doc-check-depth): New macro. (doc-end-macro, Sh, Ss): Use it. (Cd): Fix behaviour in synopsis. (In): Make it parsed and callable. If not in the synopsis, represent the C header file enclosed in angle brackets. (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0): Use minus, not hyphen. * tmc/groff_mdoc.man: Updated.
Diffstat (limited to 'tmac/groff_mdoc.man')
-rw-r--r--tmac/groff_mdoc.man18
1 files changed, 14 insertions, 4 deletions
diff --git a/tmac/groff_mdoc.man b/tmac/groff_mdoc.man
index be6c0cfd..6ad21009 100644
--- a/tmac/groff_mdoc.man
+++ b/tmac/groff_mdoc.man
@@ -1398,15 +1398,25 @@ the declaration for the next function.
.Pp
The
.Ql .In
-.Li ( #include
-statement)
-macro is the short form of the above example.
+macro, while in the
+.Sx SYNOPSIS
+section, represents the
+.Li #include
+statement, and is the short form of the above example.
It specifies the C\~header file as being included in a C\~program.
-It also causes a line break, and is neither callable nor parsed.
+It also causes a line break.
+.Pp
+While not in the
+.Sx SYNOPSIS
+section, it represents the header file enclosed in angle brackets.
.Pp
.Dl Usage: .In Ao header file Ac
.Pp
.Bl -tag -width ".Li .In\ stdio.h" -compact -offset 15n
+.nr in-synopsis-section 1
+.It Li ".In stdio.h"
+.In stdio.h
+.nr in-synopsis-section 0
.It Li ".In stdio.h"
.In stdio.h
.El