From e43c73ab8f3bb75f87f1c6bbba2b3ae2baad3cd3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 30 Nov 2014 05:29:00 +0000 Subject: 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. --- mandoc.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mandoc.1') 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 -- cgit