diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-11-10 21:54:30 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-11-10 21:54:30 +0000 |
commit | 51efcebeef3f9d42e6610abbed896bfbea0afde6 (patch) | |
tree | 36fa9cd829ecd246cec57af541300b3473936963 /regress/usr.bin/mandoc/mdoc/Bl | |
parent | b728b8a975b46e0d4e48e6a4e2dc70848d5529f0 (diff) |
add required vertical spacing before lists that begin
at the beginning of the first item of an enclosing list
right at the beginning of a new section or subsection;
minibug reported by Steffen Nurpmeso <sdaoden at yandex dot com>
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc/Bl')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bl/Makefile | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bl/secstart.in | 39 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bl/secstart.out_ascii | 26 |
3 files changed, 67 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/Makefile b/regress/usr.bin/mandoc/mdoc/Bl/Makefile index cbf736004cc..4e37f578368 100644 --- a/regress/usr.bin/mandoc/mdoc/Bl/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Bl/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.25 2014/10/30 20:05:33 schwarze Exp $ +# $OpenBSD: Makefile,v 1.26 2014/11/10 21:54:29 schwarze Exp $ REGRESS_TARGETS = item inset diag ohang bullet dash enum hang tag -REGRESS_TARGETS += column extend nested offset +REGRESS_TARGETS += column extend nested offset secstart REGRESS_TARGETS += notype multitype badargs REGRESS_TARGETS += empty noIt emptyhead emptytag emptyitem multitag diff --git a/regress/usr.bin/mandoc/mdoc/Bl/secstart.in b/regress/usr.bin/mandoc/mdoc/Bl/secstart.in new file mode 100644 index 00000000000..bd01e0367e0 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Bl/secstart.in @@ -0,0 +1,39 @@ +.Dd November 10, 2014 +.Dt BL-SECSTART 1 +.Os OpenBSD +.Sh NAME +.Nm Bl-secstart +.Nd nested lists at the beginning of sections +.Sh DESCRIPTION +.Ss item +.Bl -item +.It +.Bl -item +.It +text +.El +.El +.Ss dash +.Bl -dash +.It +.Bl -dash +.It +text +.El +.El +.Ss inset +.Bl -inset +.It outer +.Bl -inset +.It inner +text +.El +.El +.Ss tag +.Bl -tag -width 4n +.It outer tag +.Bl -tag -width 4n +.It inner tag +text +.El +.El diff --git a/regress/usr.bin/mandoc/mdoc/Bl/secstart.out_ascii b/regress/usr.bin/mandoc/mdoc/Bl/secstart.out_ascii new file mode 100644 index 00000000000..269c92eca1f --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Bl/secstart.out_ascii @@ -0,0 +1,26 @@ +BL-SECSTART(1) General Commands Manual BL-SECSTART(1) + +NNAAMMEE + BBll--sseeccssttaarrtt - nested lists at the beginning of sections + +DDEESSCCRRIIPPTTIIOONN + iitteemm + text + + ddaasshh + -- + + -- text + + iinnsseett + outer + + inner text + + ttaagg + outer tag + + inner tag + text + +OpenBSD November 10, 2014 OpenBSD |