diff options
Diffstat (limited to 'regress/tbl/mod')
-rw-r--r-- | regress/tbl/mod/Makefile | 15 | ||||
-rw-r--r-- | regress/tbl/mod/badfont.in | 14 | ||||
-rw-r--r-- | regress/tbl/mod/badfont.out_ascii | 18 | ||||
-rw-r--r-- | regress/tbl/mod/badfont.out_lint | 2 | ||||
-rw-r--r-- | regress/tbl/mod/expand.in | 225 | ||||
-rw-r--r-- | regress/tbl/mod/expand.out_ascii | 101 | ||||
-rw-r--r-- | regress/tbl/mod/font.in | 14 | ||||
-rw-r--r-- | regress/tbl/mod/font.out_ascii | 19 | ||||
-rw-r--r-- | regress/tbl/mod/font.out_lint | 1 | ||||
-rw-r--r-- | regress/tbl/mod/misalign.in | 16 | ||||
-rw-r--r-- | regress/tbl/mod/misalign.out_ascii | 22 |
11 files changed, 447 insertions, 0 deletions
diff --git a/regress/tbl/mod/Makefile b/regress/tbl/mod/Makefile new file mode 100644 index 00000000..c5bebb0f --- /dev/null +++ b/regress/tbl/mod/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.2 2015/02/10 11:02:19 schwarze Exp $ + +REGRESS_TARGETS = badfont expand font misalign +LINT_TARGETS = badfont font + +# groff-1.22.3 defects: +# - The "f" font modifier swallows a following newline character. +# - When space is insufficient (on either side) for properly aligning +# a number, GNU tbl(1) moves the number too much to the right, +# overflowing the column, even if space would be sufficient without +# left padding. + +SKIP_GROFF = badfont misalign + +.include <bsd.regress.mk> diff --git a/regress/tbl/mod/badfont.in b/regress/tbl/mod/badfont.in new file mode 100644 index 00000000..4b765aef --- /dev/null +++ b/regress/tbl/mod/badfont.in @@ -0,0 +1,14 @@ +.TH TBL-MOD-BADFONT 1 "February 10, 2015" OpenBSD +.SH NAME +tbl-mod-badfont \- invalid font modifiers in table layouts +.SH DESCRIPTION +normal text +.TS +box tab(:); +lfB lf +lfI lf. +lfB lfI. +bold:none +italic:none +bold:italic +.TE diff --git a/regress/tbl/mod/badfont.out_ascii b/regress/tbl/mod/badfont.out_ascii new file mode 100644 index 00000000..b0788c50 --- /dev/null +++ b/regress/tbl/mod/badfont.out_ascii @@ -0,0 +1,18 @@ +TBL-MOD-BADFONT(1) General Commands Manual TBL-MOD-BADFONT(1) + + + +NNAAMMEE + tbl-mod-badfont - invalid font modifiers in table layouts + +DDEESSCCRRIIPPTTIIOONN + normal text + + +----------------+ + |bboolldd none | + |_i_t_a_l_i_c none | + |bboolldd _i_t_a_l_i_c | + +----------------+ + + +OpenBSD February 10, 2015 TBL-MOD-BADFONT(1) diff --git a/regress/tbl/mod/badfont.out_lint b/regress/tbl/mod/badfont.out_lint new file mode 100644 index 00000000..0882648c --- /dev/null +++ b/regress/tbl/mod/badfont.out_lint @@ -0,0 +1,2 @@ +mandoc: badfont.in:8:7: WARNING: unknown font, skipping request: TS f +mandoc: badfont.in:9:7: WARNING: unknown font, skipping request: TS f. diff --git a/regress/tbl/mod/expand.in b/regress/tbl/mod/expand.in new file mode 100644 index 00000000..dbb490f5 --- /dev/null +++ b/regress/tbl/mod/expand.in @@ -0,0 +1,225 @@ +.TH TBL-MOD-EXPAND 1 "January 27, 2015" OpenBSD +.SH NAME +tbl-mod-expand \- expand modifier in table layout +.SH DESCRIPTION +normal text +.TS +tab(:); +lx lx l. +x:x:123456789012345678901234567890123456789012345678901234567890123 +.TE +.TS +tab(:); +lx lx l. +x:x:12345678901234567890123456789012345678901234567890123456789012 +.TE +.TS +tab(:); +lx lx l. +x:x:1234567890123456789012345678901234567890123456789012345678901 +.TE +.TS +tab(:); +lx lx l. +x:x:123456789012345678901234567890123456789012345678901234567890 +.TE +.TS +tab(:); +lx lx lx l. +x:x:x:12345678901234567890123456789012345678901234567890123456789 +.TE +.TS +tab(:); +lx lx lx l. +x:x:x:1234567890123456789012345678901234567890123456789012345678 +.TE +.TS +tab(:); +lx lx lx l. +x:x:x:123456789012345678901234567890123456789012345678901234567 +.TE +.TS +tab(:); +lx lx lx l. +x:x:x:12345678901234567890123456789012345678901234567890123456 +.TE +.TS +tab(:); +lx lx lx lx l. +x:x:x:x:1234567890123456789012345678901234567890123456789012345 +.TE +.TS +tab(:); +lx lx lx lx l. +x:x:x:x:123456789012345678901234567890123456789012345678901234 +.TE +.TS +tab(:); +lx lx lx lx l. +x:x:x:x:12345678901234567890123456789012345678901234567890123 +.TE +.TS +tab(:); +lx lx lx lx l. +x:x:x:x:1234567890123456789012345678901234567890123456789012 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:123456789012345678901234567890123456789012345678901 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:12345678901234567890123456789012345678901234567890 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:1234567890123456789012345678901234567890123456789 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:123456789012345678901234567890123456789012345678 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:12345678901234567890123456789012345678901234567 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:1234567890123456789012345678901234567890123456 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:123456789012345678901234567890123456789012345 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:12345678901234567890123456789012345678901234 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:1234567890123456789012345678901234567890123 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:123456789012345678901234567890123456789012 +.TE +.TS +tab(:); +lx l rx. +x:123456789012345678901234567890123456789012345678901234567890123:x +.TE +.TS +tab(:); +lx l rx. +x:12345678901234567890123456789012345678901234567890123456789012:x +.TE +.TS +tab(:); +lx l rx. +x:1234567890123456789012345678901234567890123456789012345678901:x +.TE +.TS +tab(:); +lx l rx. +x:123456789012345678901234567890123456789012345678901234567890:x +.TE +.TS +tab(:); +lx lx l rx. +x:x:12345678901234567890123456789012345678901234567890123456789:x +.TE +.TS +tab(:); +lx lx l rx. +x:x:1234567890123456789012345678901234567890123456789012345678:x +.TE +.TS +tab(:); +lx lx l rx. +x:x:123456789012345678901234567890123456789012345678901234567:x +.TE +.TS +tab(:); +lx lx l rx. +x:x:12345678901234567890123456789012345678901234567890123456:x +.TE +.TS +tab(:); +lx lx lx l rx. +x:x:x:1234567890123456789012345678901234567890123456789012345:x +.TE +.TS +tab(:); +lx lx lx l rx. +x:x:x:123456789012345678901234567890123456789012345678901234:x +.TE +.TS +tab(:); +lx lx lx l rx. +x:x:x:12345678901234567890123456789012345678901234567890123:x +.TE +.TS +tab(:); +lx lx lx l rx. +x:x:x:1234567890123456789012345678901234567890123456789012:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:123456789012345678901234567890123456789012345678901:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:12345678901234567890123456789012345678901234567890:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:1234567890123456789012345678901234567890123456789:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:123456789012345678901234567890123456789012345678:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:12345678901234567890123456789012345678901234567:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:1234567890123456789012345678901234567890123456:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:123456789012345678901234567890123456789012345:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:12345678901234567890123456789012345678901234:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:1234567890123456789012345678901234567890123:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:123456789012345678901234567890123456789012:x +.TE diff --git a/regress/tbl/mod/expand.out_ascii b/regress/tbl/mod/expand.out_ascii new file mode 100644 index 00000000..2b4d193a --- /dev/null +++ b/regress/tbl/mod/expand.out_ascii @@ -0,0 +1,101 @@ +TBL-MOD-EXPAND(1) General Commands Manual TBL-MOD-EXPAND(1) + + + +NNAAMMEE + tbl-mod-expand - expand modifier in table layout + +DDEESSCCRRIIPPTTIIOONN + normal text + + x x 123456789012345678901234567890123456789012345678901234567890123 + + x x 12345678901234567890123456789012345678901234567890123456789012 + + x x 1234567890123456789012345678901234567890123456789012345678901 + + x x 123456789012345678901234567890123456789012345678901234567890 + + x x x 12345678901234567890123456789012345678901234567890123456789 + + x x x 1234567890123456789012345678901234567890123456789012345678 + + x x x 123456789012345678901234567890123456789012345678901234567 + + x x x 12345678901234567890123456789012345678901234567890123456 + + x x x x 1234567890123456789012345678901234567890123456789012345 + + x x x x 123456789012345678901234567890123456789012345678901234 + + x x x x 12345678901234567890123456789012345678901234567890123 + + x x x x 1234567890123456789012345678901234567890123456789012 + + x x x x x 123456789012345678901234567890123456789012345678901 + + x x x x x 12345678901234567890123456789012345678901234567890 + + x x x x x 1234567890123456789012345678901234567890123456789 + + x x x x x 123456789012345678901234567890123456789012345678 + + x x x x x 12345678901234567890123456789012345678901234567 + + x x x x x x 1234567890123456789012345678901234567890123456 + + x x x x x x 123456789012345678901234567890123456789012345 + + x x x x x x 12345678901234567890123456789012345678901234 + + x x x x x x 1234567890123456789012345678901234567890123 + + x x x x x x 123456789012345678901234567890123456789012 + + x 123456789012345678901234567890123456789012345678901234567890123 x + + x 12345678901234567890123456789012345678901234567890123456789012 x + + x 1234567890123456789012345678901234567890123456789012345678901 x + + x 123456789012345678901234567890123456789012345678901234567890 x + + x x 12345678901234567890123456789012345678901234567890123456789 x + + x x 1234567890123456789012345678901234567890123456789012345678 x + + x x 123456789012345678901234567890123456789012345678901234567 x + + x x 12345678901234567890123456789012345678901234567890123456 x + + x x x 1234567890123456789012345678901234567890123456789012345 x + + x x x 123456789012345678901234567890123456789012345678901234 x + + x x x 12345678901234567890123456789012345678901234567890123 x + + x x x 1234567890123456789012345678901234567890123456789012 x + + x x x x 123456789012345678901234567890123456789012345678901 x + + x x x x 12345678901234567890123456789012345678901234567890 x + + x x x x 1234567890123456789012345678901234567890123456789 x + + x x x x 123456789012345678901234567890123456789012345678 x + + x x x x 12345678901234567890123456789012345678901234567 x + + x x x x x 1234567890123456789012345678901234567890123456 x + + x x x x x 123456789012345678901234567890123456789012345 x + + x x x x x 12345678901234567890123456789012345678901234 x + + x x x x x 1234567890123456789012345678901234567890123 x + + x x x x x 123456789012345678901234567890123456789012 x + + + +OpenBSD January 27, 2015 TBL-MOD-EXPAND(1) diff --git a/regress/tbl/mod/font.in b/regress/tbl/mod/font.in new file mode 100644 index 00000000..b371bfcb --- /dev/null +++ b/regress/tbl/mod/font.in @@ -0,0 +1,14 @@ +.TH TBL-MOD-FONT 1 "February 10, 2015" OpenBSD +.SH NAME +tbl-mod-font \- font modifiers in table layouts +.SH DESCRIPTION +normal text +.TS +box tab(:); +cb|cfCW|ci +cFI | cf(foobar) | cFB. +bold:roman:italic +_ +italic:roman:bold +and:so:on +.TE diff --git a/regress/tbl/mod/font.out_ascii b/regress/tbl/mod/font.out_ascii new file mode 100644 index 00000000..70438643 --- /dev/null +++ b/regress/tbl/mod/font.out_ascii @@ -0,0 +1,19 @@ +TBL-MOD-FONT(1) General Commands Manual TBL-MOD-FONT(1) + + + +NNAAMMEE + tbl-mod-font - font modifiers in table layouts + +DDEESSCCRRIIPPTTIIOONN + normal text + + +-------+-------+--------+ + | bboolldd | roman | _i_t_a_l_i_c | + +-------+-------+--------+ + |_i_t_a_l_i_c | roman | bboolldd | + | _a_n_d | so | oonn | + +-------+-------+--------+ + + +OpenBSD February 10, 2015 TBL-MOD-FONT(1) diff --git a/regress/tbl/mod/font.out_lint b/regress/tbl/mod/font.out_lint new file mode 100644 index 00000000..14506a51 --- /dev/null +++ b/regress/tbl/mod/font.out_lint @@ -0,0 +1 @@ +mandoc: font.in:8:6: WARNING: unknown font, skipping request: TS fCW|ci diff --git a/regress/tbl/mod/misalign.in b/regress/tbl/mod/misalign.in new file mode 100644 index 00000000..1f6bde49 --- /dev/null +++ b/regress/tbl/mod/misalign.in @@ -0,0 +1,16 @@ +.TH TBL-MOD-MISALIGN 1 "December 24, 2014" OpenBSD +.SH NAME +tbl-mod-misalign \- failing alignment in tables +.SH DESCRIPTION +normal text +.TS +box tab(:); +n, nz. +12.34 +_ +100.0 +0.001 +_ +1000.0 +0.0001 +.TE diff --git a/regress/tbl/mod/misalign.out_ascii b/regress/tbl/mod/misalign.out_ascii new file mode 100644 index 00000000..03e9b36c --- /dev/null +++ b/regress/tbl/mod/misalign.out_ascii @@ -0,0 +1,22 @@ +TBL-MOD-MISALIGN(1) General Commands Manual TBL-MOD-MISALIGN(1) + + + +NNAAMMEE + tbl-mod-misalign - failing alignment in tables + +DDEESSCCRRIIPPTTIIOONN + normal text + + +------+ + |12.34 | + +------+ + |100.0 | + |0.001 | + +------+ + |1000.0 | + |0.0001 | + +------+ + + +OpenBSD December 24, 2014 TBL-MOD-MISALIGN(1) |