summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-10-11 18:56:51 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-10-11 18:56:51 +0000
commit4888f53396a76dbdeb8fa67b352672a0b231112f (patch)
tree2fd88bfde4cd0b71972f1fc36d3aee9026a9466b /mdoc.7
parentbb1251368e944c7cc779d718988d241c97fd0e04 (diff)
downloadmandoc-4888f53396a76dbdeb8fa67b352672a0b231112f.tar.gz
Mention that the first argument of .Pf does not need escaping.
While here, make the first sentence regarding .Pf more concise. OK jmc@
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.712
1 files changed, 8 insertions, 4 deletions
diff --git a/mdoc.7 b/mdoc.7
index 67e9e1de..8052e5e6 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -2155,19 +2155,23 @@ See also
Close parenthesised context opened by
.Sx \&Po .
.Ss \&Pf
-Removes the space between its argument
-.Pq Dq prefix
-and the following macro.
+Removes the space between its argument and the following macro.
Its syntax is as follows:
.Pp
.D1 .Pf Ar prefix macro arguments ...
.Pp
This is equivalent to:
.Pp
-.D1 .No Ar prefix No \&Ns Ar macro arguments ...
+.D1 .No \e& Ns Ar prefix No \&Ns Ar macro arguments ...
+.Pp
+The
+.Ar prefix
+argument is not parsed for macro names or delimiters,
+but used verbatim as if it were escaped.
.Pp
Examples:
.Dl ".Pf $ Ar variable_name"
+.Dl ".Pf . Ar macro_name"
.Dl ".Pf 0x Ar hex_digits"
.Pp
See also