diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-01-30 21:28:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-01-30 21:28:22 +0000 |
commit | 6d56af274a91080979d1e7bfe78d5b95f6ae0e28 (patch) | |
tree | 27683786f14ea823abb26a6abb768a26f44f5170 /regress | |
parent | 810d45544d86d2262aafea8039915bc6cba23775 (diff) |
starting a tbl(7) breaks man(7) next-line scope;
triggered by a bug report from jsg@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/mandoc/man/TS/Makefile | 11 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TS/break.in | 33 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TS/break.out_ascii | 29 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TS/break.out_lint | 4 |
4 files changed, 75 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/TS/Makefile b/regress/usr.bin/mandoc/man/TS/Makefile index abcf90ea63a..23a163b782b 100644 --- a/regress/usr.bin/mandoc/man/TS/Makefile +++ b/regress/usr.bin/mandoc/man/TS/Makefile @@ -1,6 +1,13 @@ -# $OpenBSD: Makefile,v 1.2 2014/08/14 01:58:51 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2015/01/30 21:28:21 schwarze Exp $ -REGRESS_TARGETS=vspace +REGRESS_TARGETS = break vspace +LINT_TARGETS = break + +# groff-1.22.3 defect: +# - Starting a table in next-line scope confuses font handling, +# and in the case of .TP indentation as well. + +SKIP_GROFF = break TBL=/usr/local/bin/tbl diff --git a/regress/usr.bin/mandoc/man/TS/break.in b/regress/usr.bin/mandoc/man/TS/break.in new file mode 100644 index 00000000000..31dfe631bb6 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TS/break.in @@ -0,0 +1,33 @@ +.TH TBL-BREAK 1 "January 30, 2015" OpenBSD +.SH NAME +tbl-break \- tables breaking blocks +.SH DESCRIPTION +tagged paragraph: +.TP 6n +.TS +l. +first line +second line +.TE +section: +.SH +.TS +l. +first line +second line +.TE +subsection: +.SS +.TS +l. +first line +second line +.TE +bold: +.B +.TS +l. +first line +second line +.TE +final text diff --git a/regress/usr.bin/mandoc/man/TS/break.out_ascii b/regress/usr.bin/mandoc/man/TS/break.out_ascii new file mode 100644 index 00000000000..57634e020f5 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TS/break.out_ascii @@ -0,0 +1,29 @@ +TBL-BREAK(1) General Commands Manual TBL-BREAK(1) + + + +NNAAMMEE + tbl-break - tables breaking blocks + +DDEESSCCRRIIPPTTIIOONN + tagged paragraph: + + first line + second line + section: + + first line + second line + subsection: + + first line + second line + bold: + + first line + second line + final text + + + +OpenBSD January 30, 2015 TBL-BREAK(1) diff --git a/regress/usr.bin/mandoc/man/TS/break.out_lint b/regress/usr.bin/mandoc/man/TS/break.out_lint new file mode 100644 index 00000000000..4bff2ea109a --- /dev/null +++ b/regress/usr.bin/mandoc/man/TS/break.out_lint @@ -0,0 +1,4 @@ +mandoc: break.in:6:2: WARNING: line scope broken: TS breaks TP +mandoc: break.in:13:2: WARNING: line scope broken: TS breaks SH +mandoc: break.in:20:2: WARNING: line scope broken: TS breaks SS +mandoc: break.in:27:2: WARNING: line scope broken: TS breaks B |