summaryrefslogtreecommitdiffstats
path: root/regress/tbl/opt
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-08-28 11:55:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-08-28 11:55:30 +0000
commit43d66ed0c3145dfa01ffacc16eb6e8b65f5554a3 (patch)
tree40b0ce275de19f556d57118911552f9087db7cab /regress/tbl/opt
parent987b06113fad7f62388895986dd119ed2fa17a5c (diff)
downloadmandoc-43d66ed0c3145dfa01ffacc16eb6e8b65f5554a3.tar.gz
Vertical spacing changes around tables in man_term.c rev. 1.241
and tbl_term.c rev. 1.79 cause quite a bit of churn, unfortunately. This commit cleans up most of it.
Diffstat (limited to 'regress/tbl/opt')
-rw-r--r--regress/tbl/opt/box.in9
-rw-r--r--regress/tbl/opt/box.out_ascii11
-rw-r--r--regress/tbl/opt/center-mdoc.out_ascii1
-rw-r--r--regress/tbl/opt/center.out_ascii22
-rw-r--r--regress/tbl/opt/invalid.out_ascii4
5 files changed, 9 insertions, 38 deletions
diff --git a/regress/tbl/opt/box.in b/regress/tbl/opt/box.in
index 0ff010be..d3c916ad 100644
--- a/regress/tbl/opt/box.in
+++ b/regress/tbl/opt/box.in
@@ -1,5 +1,5 @@
-.\" $OpenBSD: box.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $
-.TH TBL-OPT-BOX 1 "June 12, 2017"
+.\" $OpenBSD: box.in,v 1.5 2022/08/28 11:45:27 schwarze Exp $
+.TH TBL-OPT-BOX 1 "August 28, 2022"
.SH NAME
tbl-opt-box \- box table options
.SH DESCRIPTION
@@ -10,7 +10,6 @@ l l.
a:b
c:d
.TE
-.sp
automatic boxing:
.TS
tab(:) box;
@@ -18,7 +17,6 @@ l l.
a:b
c:d
.TE
-.sp
allbox:
.TS
tab(:) allbox;
@@ -26,7 +24,6 @@ l l.
a:b
c:d
.TE
-.sp
manual boxing:
.TS
tab(:);
@@ -37,7 +34,6 @@ _
c:d
_
.TE
-.sp
automatic and manual boxing:
.TS
tab(:) box;
@@ -47,7 +43,6 @@ _
c:d
_
.TE
-.sp
allbox and manual boxing:
.TS
tab(:) allbox;
diff --git a/regress/tbl/opt/box.out_ascii b/regress/tbl/opt/box.out_ascii
index 830c446f..a766fc8b 100644
--- a/regress/tbl/opt/box.out_ascii
+++ b/regress/tbl/opt/box.out_ascii
@@ -5,33 +5,26 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
no boxing:
-
a b
c d
-
automatic boxing:
-
+------+
|a b |
|c d |
+------+
allbox:
-
+--+---+
|a | b |
+--+---+
|c | d |
+--+---+
manual boxing:
-
+--++--+
|a ||b |
+--++--+
|c ||d |
+--++--+
-
automatic and manual boxing:
-
+--++--+
|a ||b |
+--++--+
@@ -39,7 +32,6 @@ DDEESSCCRRIIPPTTIIOONN
+--++--+
+--++--+
allbox and manual boxing:
-
+--++--+
|a ||b |
+--++--+
@@ -47,4 +39,5 @@ DDEESSCCRRIIPPTTIIOONN
|c ||d |
+--++--+
+--++--+
-OpenBSD June 12, 2017 TBL-OPT-BOX(1)
+
+OpenBSD August 28, 2022 TBL-OPT-BOX(1)
diff --git a/regress/tbl/opt/center-mdoc.out_ascii b/regress/tbl/opt/center-mdoc.out_ascii
index 615d7f33..4e6a5fc2 100644
--- a/regress/tbl/opt/center-mdoc.out_ascii
+++ b/regress/tbl/opt/center-mdoc.out_ascii
@@ -9,4 +9,5 @@ DDEESSCCRRIIPPTTIIOONN
|northwest northeast |
|southwest southeast |
+----------------------+
+
OpenBSD January 31, 2019 OpenBSD
diff --git a/regress/tbl/opt/center.out_ascii b/regress/tbl/opt/center.out_ascii
index f3ea2588..97178c2d 100644
--- a/regress/tbl/opt/center.out_ascii
+++ b/regress/tbl/opt/center.out_ascii
@@ -5,57 +5,39 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
normal text
-
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456
-
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345
-
123456789012345678901234567890123456789012345678901234567890123456789012345678901234
-
12345678901234567890123456789012345678901234567890123456789012345678901234
-
1234567890123456789012345678901234567890123456789012345678901234567890123
-
123456789012345678901234567890123456789012345678901234567890123456789012
-
12345678901234567890123456789012345678901234567890123456789012345678901
-
1234567890123456789012345678901234567890123456789012345678901234567890
-
123456789012345678901234567890123456789012345678901234567890123456789
-
12345678901234567890123456789012345678901234567890123456789012345678
-
----+
txt |
-
-----+
text |
-
+----
|txt
-
+-----
|text
-
+----+
|txt |
-
+-----+
|text |
-
+----++-----+
|txt ||text |
-
+-----++-----+
|text ||text |
-
+----+
|txt |
+----+
- normal text
+ normal text
+-----+
|text |
+-----+
+
OpenBSD January 28, 2015 TBL-LAYOUT_CENTER(1)
diff --git a/regress/tbl/opt/invalid.out_ascii b/regress/tbl/opt/invalid.out_ascii
index aec83c10..627a3bf9 100644
--- a/regress/tbl/opt/invalid.out_ascii
+++ b/regress/tbl/opt/invalid.out_ascii
@@ -5,16 +5,16 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
normal text
-
+--------------+
|10.0 0.01 |
| 0.01 10.0 |
+--------------+
- normal text
+ normal text
+------+
|a b |
+------+
+
normal text
OpenBSD January 25, 2015 TBL-OPT(1)