diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-11 18:56:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-11 18:56:51 +0000 |
commit | ede48977046b65029014a425213d622d938c74c4 (patch) | |
tree | 135cd86f76015e8e104eef5d8040236e4703e5e3 /mdoc.7 | |
parent | fadd7479bf73670e544e340f0f8944858501f7be (diff) | |
download | mandoc-ede48977046b65029014a425213d622d938c74c4.tar.gz mandoc-ede48977046b65029014a425213d622d938c74c4.tar.zst mandoc-ede48977046b65029014a425213d622d938c74c4.zip |
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.7 | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.255 2015/09/24 18:41:22 schwarze Exp $ +.\" $Id: mdoc.7,v 1.256 2015/10/11 18:56:51 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 24 2015 $ +.Dd $Mdocdate: October 11 2015 $ .Dt MDOC 7 .Os .Sh NAME @@ -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 |