aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/esc/c_man.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-25 12:33:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-25 12:33:03 +0000
commit870322bd99e8a445ec84289025691baf9352ce27 (patch)
treeec243f7f942745eb4eab52fe5688e52f993299d4 /regress/roff/esc/c_man.in
parent0a8809aa2eea4b189b4ca02bea4883d7cf4ce706 (diff)
downloadmandoc-870322bd99e8a445ec84289025691baf9352ce27.tar.gz
mandoc-870322bd99e8a445ec84289025691baf9352ce27.tar.zst
mandoc-870322bd99e8a445ec84289025691baf9352ce27.zip
If man(7) next-line scope is open and the line ends with \c,
the scope remains open. Needed for example for groff_man(7).
Diffstat (limited to 'regress/roff/esc/c_man.in')
-rw-r--r--regress/roff/esc/c_man.in19
1 files changed, 17 insertions, 2 deletions
diff --git a/regress/roff/esc/c_man.in b/regress/roff/esc/c_man.in
index c530a472..f6a5b0e5 100644
--- a/regress/roff/esc/c_man.in
+++ b/regress/roff/esc/c_man.in
@@ -1,15 +1,18 @@
-.\" $OpenBSD: c_man.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $
-.TH ESC-C_MAN 1 "December 2, 2014"
+.\" $OpenBSD: c_man.in,v 1.4 2018/08/25 12:28:52 schwarze Exp $
+.TH ESC-C_MAN 1 "August 25, 2018"
.SH NAME
esc-c_man \- the roff escape c sequence: remove trailing space
.SH DESCRIPTION
No space between "one" and "word":
one\c
word
+.PP
+The same in no-fill mode:
.nf
one\c
word
.fi
+.PP
Blank line after \ec:
one\c
@@ -19,4 +22,16 @@ one\c
word
.fi
+.PP
+In next-line element scope:
+.B
+one\c
+word
+.PP
+In next-line block scope:
+.TP
+one\c
+word
+list body
+.PP
final text