summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-04-06 13:34:55 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-04-06 13:34:55 +0000
commit0ff12e3cf873de24de91f2a5e8321f13e8d72f4c (patch)
treea0a136a3001653b5bd96eb1c4424e7c52ecc62ce /regress/usr.bin/mandoc
parentc0432c491ee3d0affec7b85ce749fdd7085897f8 (diff)
Use the default width for .RS without arguments.
Reduces groff-mandoc differences in base and Xenocara by about 4%. Found while looking at wpa_supplicant(8).
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r--regress/usr.bin/mandoc/man/RS/Makefile4
-rw-r--r--regress/usr.bin/mandoc/man/RS/nowidth.in20
-rw-r--r--regress/usr.bin/mandoc/man/RS/nowidth.out_ascii21
3 files changed, 43 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/RS/Makefile b/regress/usr.bin/mandoc/man/RS/Makefile
index 67efb7488d6..4c62bb30e47 100644
--- a/regress/usr.bin/mandoc/man/RS/Makefile
+++ b/regress/usr.bin/mandoc/man/RS/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.10 2015/02/06 07:12:34 schwarze Exp $
+# $OpenBSD: Makefile,v 1.11 2015/04/06 13:34:54 schwarze Exp $
REGRESS_TARGETS = breaking broken empty literal lonelyRE
-REGRESS_TARGETS += nested noRE REarg width
+REGRESS_TARGETS += nested noRE nowidth REarg width
LINT_TARGETS = empty lonelyRE noRE REarg
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/man/RS/nowidth.in b/regress/usr.bin/mandoc/man/RS/nowidth.in
new file mode 100644
index 00000000000..ee53489a82f
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/RS/nowidth.in
@@ -0,0 +1,20 @@
+.TH RS-NESTED 1 "April 6, 2015" OpenBSD
+.SH NAME
+RS-nowidth \- indentation blocks not specifying a width
+.SH DESCRIPTION
+regular text
+.RS
+top-level indented list
+.RE
+regular text
+.TP 2n
+\(bu
+bullet list
+.RS
+indented text
+.RE
+regular text
+.RS
+top-level indented list
+.RE
+regular text
diff --git a/regress/usr.bin/mandoc/man/RS/nowidth.out_ascii b/regress/usr.bin/mandoc/man/RS/nowidth.out_ascii
new file mode 100644
index 00000000000..c72f18f23e1
--- /dev/null
+++ b/regress/usr.bin/mandoc/man/RS/nowidth.out_ascii
@@ -0,0 +1,21 @@
+RS-NESTED(1) General Commands Manual RS-NESTED(1)
+
+
+
+NNAAMMEE
+ RS-nowidth - indentation blocks not specifying a width
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+ top-level indented list
+ regular text
+
+ +o bullet list
+ indented text
+ regular text
+ top-level indented list
+ regular text
+
+
+
+OpenBSD April 6, 2015 RS-NESTED(1)