diff options
author | 2018-08-25 12:33:03 +0000 | |
---|---|---|
committer | 2018-08-25 12:33:03 +0000 | |
commit | 870322bd99e8a445ec84289025691baf9352ce27 (patch) | |
tree | ec243f7f942745eb4eab52fe5688e52f993299d4 /regress/roff/esc | |
parent | 0a8809aa2eea4b189b4ca02bea4883d7cf4ce706 (diff) | |
download | mandoc-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')
-rw-r--r-- | regress/roff/esc/c_man.in | 19 | ||||
-rw-r--r-- | regress/roff/esc/c_man.out_ascii | 13 |
2 files changed, 29 insertions, 3 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 diff --git a/regress/roff/esc/c_man.out_ascii b/regress/roff/esc/c_man.out_ascii index 9062c335..a3a50889 100644 --- a/regress/roff/esc/c_man.out_ascii +++ b/regress/roff/esc/c_man.out_ascii @@ -7,12 +7,23 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN No space between "one" and "word": oneword + + The same in no-fill mode: oneword + Blank line after \c: one word one word + + In next-line element scope: oonneewwoorrdd + + In next-line block scope: + + oneword + list body + final text -OpenBSD December 2, 2014 ESC-C_MAN(1) +OpenBSD August 25, 2018 ESC-C_MAN(1) |