diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-05 21:18:26 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-05 21:18:26 +0000 |
commit | 3f195b30d32ccc6681f84b179797e62a74c36df6 (patch) | |
tree | c67e98b1bad0932e7d9ae01efe9049884ab201d6 /regress/man/SY | |
parent | 5229da27b276b7a56dd6d7c892776720ffb974a1 (diff) | |
download | mandoc-3f195b30d32ccc6681f84b179797e62a74c36df6.tar.gz |
In groff, when the .SY block macro occurs in no-fill mode,
the output line gets broken after the head. Do the same.
Diffstat (limited to 'regress/man/SY')
-rw-r--r-- | regress/man/SY/Makefile | 5 | ||||
-rw-r--r-- | regress/man/SY/literal.in | 32 | ||||
-rw-r--r-- | regress/man/SY/literal.out_ascii | 27 |
3 files changed, 64 insertions, 0 deletions
diff --git a/regress/man/SY/Makefile b/regress/man/SY/Makefile new file mode 100644 index 00000000..54045804 --- /dev/null +++ b/regress/man/SY/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2019/01/05 21:13:55 schwarze Exp $ + +REGRESS_TARGETS = literal + +.include <bsd.regress.mk> diff --git a/regress/man/SY/literal.in b/regress/man/SY/literal.in new file mode 100644 index 00000000..081904c0 --- /dev/null +++ b/regress/man/SY/literal.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: literal.in,v 1.1 2019/01/05 21:13:55 schwarze Exp $ +.TH SY-LITERAL 1 "January 5, 2019" +.SH NAME +SY-literal \- synopsis block in literal context +.SH DESCRIPTION +BEGINTEST +.br +initial +regular +text +.SY command +.I arguments +.YS +middle +regular +text +.nf +literal text +before display +.SY command +.I arguments +.YS +literal text +after display +.fi +final +regular +text +.br +ENDTEST +.br +end of file diff --git a/regress/man/SY/literal.out_ascii b/regress/man/SY/literal.out_ascii new file mode 100644 index 00000000..ae0044df --- /dev/null +++ b/regress/man/SY/literal.out_ascii @@ -0,0 +1,27 @@ +SY-LITERAL(1) General Commands Manual SY-LITERAL(1) + + + +NNAAMMEE + SY-literal - synopsis block in literal context + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + initial regular text + + ccoommmmaanndd _a_r_g_u_m_e_n_t_s + middle regular text + literal text + before display + + ccoommmmaanndd + _a_r_g_u_m_e_n_t_s + literal text + after display + final regular text + ENDTEST + end of file + + + +OpenBSD January 5, 2019 SY-LITERAL(1) |