aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/SY/literal.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-05 21:18:26 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-05 21:18:26 +0000
commit90df3f10ba3a29b23b62fdad06cdae3f2c051e4f (patch)
tree4dfe2636e81047195b3964f2c3328e367e6bc3b8 /regress/man/SY/literal.in
parentc33a3366a3d5db0a3182110ecfe15ded97489b77 (diff)
downloadmandoc-90df3f10ba3a29b23b62fdad06cdae3f2c051e4f.tar.gz
mandoc-90df3f10ba3a29b23b62fdad06cdae3f2c051e4f.tar.zst
mandoc-90df3f10ba3a29b23b62fdad06cdae3f2c051e4f.zip
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/literal.in')
-rw-r--r--regress/man/SY/literal.in32
1 files changed, 32 insertions, 0 deletions
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