summaryrefslogtreecommitdiffstats
path: root/share/man/man7
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-04-23 18:45:41 +0000
committerschwarze <schwarze@openbsd.org>2019-04-23 18:45:41 +0000
commitd61b694197df1ad47bfc156750df16c20cb8f525 (patch)
tree93e1101e441273e76d5e03857b6582c237f9a38a /share/man/man7
parentccp(4) attaches to acpi(4) now. (diff)
downloadwireguard-openbsd-d61b694197df1ad47bfc156750df16c20cb8f525.tar.xz
wireguard-openbsd-d61b694197df1ad47bfc156750df16c20cb8f525.zip
clarify how .%P is conventionally used;
triggered by a question from Fabio Scotoni <fabio at esse dot ch>
Diffstat (limited to 'share/man/man7')
-rw-r--r--share/man/man7/mdoc.713
1 files changed, 10 insertions, 3 deletions
diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7
index bc2b9eda6ea..1afe032ed57 100644
--- a/share/man/man7/mdoc.7
+++ b/share/man/man7/mdoc.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mdoc.7,v 1.164 2019/02/07 06:49:47 jmc Exp $
+.\" $OpenBSD: mdoc.7,v 1.165 2019/04/23 18:45:41 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010, 2011, 2013-2018 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: February 7 2019 $
+.Dd $Mdocdate: April 23 2019 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -596,6 +596,13 @@ block.
Book or journal page number of an
.Ic \&Rs
block.
+Conventionally, the argument starts with
+.Ql p.\&
+for a single page or
+.Ql pp.\&
+for a range of pages, for example:
+.Pp
+.Dl .%P pp. 42\e(en47
.It Ic \&%Q Ar name
Institutional author (school, government, etc.) of an
.Ic \&Rs
@@ -2982,7 +2989,7 @@ exclamation mark
Note that even a period preceded by a backslash
.Pq Sq \e.\&
gets this special handling; use
-.Sq \e&.
+.Sq \e&.\&
to prevent that.
.Pp
Many in-line macros interrupt their scope when they encounter