aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-05 22:30:29 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-05 22:30:29 +0000
commit21c5d8b9700c5c309ceb2763aab8165fc3a24234 (patch)
tree97692fd9c4c6d1f614cb943c78ac49eedc7b3f1c /mdoc.7
parent51dfc00ea02bd1e244739ddaf1625dcea52550f8 (diff)
downloadmandoc-21c5d8b9700c5c309ceb2763aab8165fc3a24234.tar.gz
mandoc-21c5d8b9700c5c309ceb2763aab8165fc3a24234.tar.zst
mandoc-21c5d8b9700c5c309ceb2763aab8165fc3a24234.zip
document output spacing near delimiters
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.78
1 files changed, 5 insertions, 3 deletions
diff --git a/mdoc.7 b/mdoc.7
index e28db482..ce4bd92f 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.260 2017/01/09 14:10:53 schwarze Exp $
+.\" $Id: mdoc.7,v 1.261 2017/02/05 22:30:29 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010, 2011, 2013-2017 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: January 9 2017 $
+.Dd $Mdocdate: February 5 2017 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -3064,6 +3064,8 @@ For many macros, when the leading arguments are opening delimiters,
these delimiters are put before the macro scope,
and when the trailing arguments are closing delimiters,
these delimiters are put after the macro scope.
+Spacing is suppressed after opening delimiters
+and before closing delimiters.
For example,
.Pp
.D1 Pf \. \&Aq "( [ word ] ) ."
@@ -3120,7 +3122,7 @@ renders as:
.D1 Fl a ( b | c \*(Ba d ) e
.Pp
This applies to both opening and closing delimiters,
-and also to the middle delimiter:
+and also to the middle delimiter, which does not suppress spacing:
.Pp
.Bl -tag -width Ds -offset indent -compact
.It \&|