diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-12-31 22:58:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-12-31 22:58:41 +0000 |
commit | a951e29478bd5be4d2e27779d5dc6cb19032bd9e (patch) | |
tree | 5870d878dbeea0c5c7225976a64a327e82e06c60 /regress/tbl/layout/emptycol.out_ascii | |
parent | e3b08adce89f0d56af5c8c001beda568cf5e3456 (diff) | |
download | mandoc-a951e29478bd5be4d2e27779d5dc6cb19032bd9e.tar.gz |
When all cells in a tbl(1) column are empty, set the column width
to 1n rather than to 0n, in the same way as groff does.
This fixes misformatting reported by bentley@ in xkeyboard-config(7).
Diffstat (limited to 'regress/tbl/layout/emptycol.out_ascii')
-rw-r--r-- | regress/tbl/layout/emptycol.out_ascii | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/regress/tbl/layout/emptycol.out_ascii b/regress/tbl/layout/emptycol.out_ascii new file mode 100644 index 00000000..b1372b7b --- /dev/null +++ b/regress/tbl/layout/emptycol.out_ascii @@ -0,0 +1,46 @@ +TBL-LAYOUT-EMPTYCOL(1) General Commands Manual TBL-LAYOUT-EMPTYCOL(1) + + + +NNAAMMEE + tbl-layout-emptycol - empty columns in tables + +DDEESSCCRRIIPPTTIIOONN + missing final column: + + +--+---+---+ + |1 | 2 | | + +--+---+---+ + |a | b | | + +--+---+---+ + empty final column: + + +--+---+---+ + |1 | 2 | | + +--+---+---+ + |a | b | | + +--+---+---+ + final column with zero-width content: + + +--+---+---+ + |1 | 2 | | + +--+---+---+ + |a | b | | + +--+---+---+ + empty middle column: + + +--+---+---+ + |1 | | 3 | + +--+---+---+ + |a | | | + +--+---+---+ + span crossing empty middle column: + + +--+---+---+ + |1 | | 3 | + +--+---+---+ + |span | + +----------+ + + +OpenBSD December 31, 2019 TBL-LAYOUT-EMPTYCOL(1) |