aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit6f59b6b73c064f18c6d34aa05adf831fee5a9350 (patch)
tree7470dd9d286ae7b220879cc6ca3ee5160e89ca60 /mandoc.1
parent09af02110fb2332decede6c59de9e177433c15d7 (diff)
downloadmandoc-6f59b6b73c064f18c6d34aa05adf831fee5a9350.tar.gz
mandoc-6f59b6b73c064f18c6d34aa05adf831fee5a9350.tar.zst
mandoc-6f59b6b73c064f18c6d34aa05adf831fee5a9350.zip
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.110
1 files changed, 9 insertions, 1 deletions
diff --git a/mandoc.1 b/mandoc.1
index 7f8b9863..5387ec83 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.126 2014/11/30 02:36:38 schwarze Exp $
+.\" $Id: mandoc.1,v 1.127 2014/11/30 05:29:00 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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