summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-30 05:29:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-30 05:29:00 +0000
commite43c73ab8f3bb75f87f1c6bbba2b3ae2baad3cd3 (patch)
tree703bad3ba7634f8cdeb4be5d26ef773d373ea8c1 /mandoc.1
parent672fb7896ca2c19f7313864be8ddba51337a45c0 (diff)
downloadmandoc-e43c73ab8f3bb75f87f1c6bbba2b3ae2baad3cd3.tar.gz
Multiple fixes with respect to .Pf:
* The first argument of .Pf is not parsed. * Normal delimiter handling does not apply to the first argument of .Pf. * Warn if nothing follows a prefix (inspired by groff_mdoc(7)). * In that case, do not suppress spacing.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.18
1 files changed, 8 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index cd1b206b..10194ae6 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1054,6 +1054,14 @@ argument is invalid.
The default font
.Cm \efR
is used instead.
+.It Sy "nothing follows prefix"
+.Pq mdoc
+A
+.Ic \&Pf
+macro has no argument, or only one argument and no macro follows
+on the same input line.
+This defeats its purpose; in particular, spacing is not suppressed
+before the text or macros following on the next input line.
.It Sy "missing -std argument, adding it"
.Pq mdoc
An